Skip to content

Documentation for Css3 renderer #4328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bingomanatee opened this issue Jan 23, 2014 · 2 comments
Closed

Documentation for Css3 renderer #4328

bingomanatee opened this issue Jan 23, 2014 · 2 comments
Labels

Comments

@bingomanatee
Copy link

A few issues I am not clear on ---

  • Is there any interface for lighting the surfaces?
  • The molecule example - why are some images "billboarded" (the atoms) and some not (the bonds)?
  • Is there any API in three for two sided v. one sided planes?
  • how much of three.js in general carries through with css3 and how much does not?

Thanks in advance

@mrdoob
Copy link
Owner

mrdoob commented Jan 26, 2014

  • Is there any interface for lighting the surfaces?

Nope. CSS3D doesn't have such feature. It's true that it can be implemented but it's a hack...

  • The molecule example - why are some images "billboarded" (the atoms) and some not (the bonds)?

Try to billboard the bonds. You'll see that it can't be done :)

  • Is there any API in three for two sided v. one sided planes?

Not yet.

  • how much of three.js in general carries through with css3 and how much does not?

The CSS3DRenderer basically reuses the scene graph (compute matrices) but can't handle geometries nor materials.

@mrdoob mrdoob closed this as completed Feb 17, 2014
@movAX13h
Copy link

movAX13h commented Jan 29, 2018

Just for reference if anyone finds this post:
backface-visibility: hidden; can be used in css to hide dom elements pointing away to mimic one sided faces.

This also works with the periodic table example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants