Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: 3d house window?

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2007
    Location
    Surabaya
    Posts
    11

    3d house window?

    i want to ask
    can i make a box like wall, then with csg i make hole in the center of the wall (like window). but the hole is blend like glass on the window. can i?? and then if i give light like the sun, and make shadow of the window. the wall shadow and the glass must diffrent(you know!).please help me, if can give me the way(the logic)/the proses(not the coding) that i must folow to make that
    please..........................

  2. #2
    Intern Newbie
    Join Date
    Jun 2006
    Posts
    31

    Re: 3d house window?

    You can make a wall that has depth with a hole in it. This can be achieved by simply drawing a collection of polygons giving you the length, width and height. For the window, you will have to use a polygon, and give it a transparncey value. For the best affect you should apply material properties to the polygon that defines the window. Hope this helps. Your question isn't very clear.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •