Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Viewing inside the Box!

 
Ashish Malik
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working in Java 3D to produce a scene of a room. So i used a box to create room. But when the view is inside the box i see nothing but black. I tried placing lights inside, disabled back face culling but to no use.

Any help?
 
Stephan van Hulst
Bartender
Posts: 6337
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the box have a color on the inside?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe the normals of the sides are only facing outwards?
 
Ashish Malik
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have tried with default 'appearance' i.e with white color.
Also tried by assigning a red color.

Regarding the normals, i think you mean normals of face!
But aren't normals of inner faces by default point inwards?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic