Keep 3DLuVr online!
3DLuVr Logo
Sections
Articles
 From the Real World
 Digital Painting Series
 Featuring of...
 On the Bookshelf
Tutorials
 3ds max
 LightWave3D
 Softimage XSI
 Rhinoceros 3D
 Video Tutorials
FunZone menu
 I always wanted to be
 Talk to an employer
 Why Ask "Why"
TechZone menu
 Hardware Reviews
 Software Reviews
 Benchmarking
 Q&A, Tips & Tricks
UserZone menu
 The Artist Sites
 15 Min of Fame
 Request an Account
 Current Assignment
 Sponsors & Prizes
 Make a Submission
 Voting Booth
 Competition Rules
About menu
 Mission Statement
 Policies
 Advertising
 Comments
 Poll Archive
 Links
 How to IRC
 Donations
Login
Log in to be able to post comments to the news items, forum posts, and other facilities.
Username: 
 
Password: 
Not registered? Register!     Lost Password?
Poll
 Your New Year`s Resolution is...
Gain employment
Stop smoking/drinking/etc
Get back in shape
Find the meaning of life
Conquer the World
Absolutely nothing

    Poll Results
Comments
Want to leave us a comment about the site or in general? Click here to access the form.
ArtZone Heading
Faking Window-Shaped Highlights
Added on: Mon Dec 17 2001
Page: 1 2 

Step five, occlusion

Now we have a problem.
What if something passes between the window and the surface with the faked highlights?
Well since we only ratrace the self-illuminating window-panes the reflection will be undisturbed by anything. Even if the panes are completely blocked by something, the highlight will remain.

One solution to this could be to just add the blocking geometry to the Include list of Raytraced object, for the highlighted surface. That doesn't work all that well. We don't want anything but the window reflected, now, all of a sudden, we have other object reflected on the surface.

Here's an example where I have, for demonstration purposes, turned up Self-Illumination on the occluding object, just to show you what it looks like.


This looks hokey. We'll fix that by creating a sort of "hold-out clone" of the object we want to occlude the window.
Remove the occluding object from the Include list of the Raytrace map and then clone it. Assign a pure-black material,with absolutely no specular highlight. Include that object in the Raytracing.

Now, link the hold-out object to your regular object, so that it moves with it. Finally, right-click the hold-out object and select Properties, turn off the "Visible to Camera" option. This will make sure that the hold-out object won't get rendered, but it still raytraces allright. The final image will turn out something like this.


Step six, animation

If you want to animate something passing in front of the windowpanes, occluding the light, make sure to lower the Glow and Specular Highlight we added, it looks more realistic that way. You can download a short and simple animation showing that
effect anim.avi (DivX AVI).

 
� 1997-2024 3DLuVrTM (Three Dee Lover)
Best viewed in 1024x768 or higher,
using any modern CSS compliant browser.