comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » 2007 IDL Christmas Card
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
2007 IDL Christmas Card [message #57448] Sun, 09 December 2007 15:13 Go to previous message
ronn is currently offline  ronn
Messages: 123
Registered: April 1999
Senior Member
Hello Everyone,

David beat me to it but I have finished the 2007 IDL Christmas Card.
You do need a good graphics card (I am running a GeForce 6600 GT). If
you don't have the shader capability you will see a white snowflake
with no texture mapping.

Our 2007 Christmas card is a snowflake floating lazily in space (At
least there is a star background). To appreciate this years card you
will need IDL 6.4 and a graphics card that supports OpenGL shaders.
Shaders are great for doing things like byte scaling, look up tables,
etc directly on the graphics card hardware. You can also implement
special effects like warping, lenses, etc. Display rates of 100
frames/sec are possible with this hardware approach.

This years card uses the shader to create a snowflake that looks like
glass reflecting another image. As the snowflake rotates in space the
shader recomputes the texture mapping on the fly with no discernable
speed hit on the rotation.

The default setup has the snowflake being rotated around an axis that
wanders randomly in space. If you just want it to spin fixed at the
center just comment out this line in the program

self.axis = self.axis + randomn(seed,3)/10.0

You can download the zip file here.

http://www.kilvarock.com:80/freesoftware/objects/shadersnowf lake.zip

Have a Merry Christmas!

-Ronn Kling
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Source code management with IDL Workbench
Next Topic: Off Topic Computer Post

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 09:52:33 PDT 2025

Total time taken to generate the page: 0.96064 seconds