Game Development Community

Torque 3D Development - Lighting, Terrain, and Cloth

by Brett Seyler · 06/18/2009 (10:46 am) · 85 comments

www.ggbetas.com/brett/header_blog_t3d_dev-1.png

With Beta 3 just around the corner, I wanted to share with you guys a collection of recent highlights from the Torque 3D dev team. They're making incredible progress and everything you see here will be in next week's release. There's so much here, I'm going to let what's below speak for itself. Enjoy...


Advanced Lighting Tutorial from Lara Engebretson





Normal and Parallax Mapped Terrain from Sickhead


detail-880

Detail Map


detail-normal-880

Detail and Normal Maps


detail-normal-parallax-880

Detail and Normal Maps plus Parallax


high-fi-terrain-880

Nice Hifi Terrain!




Player Ripple Particle Effect from Sickhead and Todd Pickens


ripple-shader-880




DIF --> Collada from Matt Fairfax


farm4.static.flickr.com/3308/3638056486_ecf7fc6eae.jpg

From Torque 3D


farm4.static.flickr.com/3352/3638056496_a1c9c25f32.jpg

Burg DIFs in 3ds Max


PhysX Cloth from Sickhead





PhysX 2009-06-17 Cloth 3           PhysX 2009-06-17 Cloth           PhysX 2009-06-17 Cloth 2


If you're ready to move to Torque 3D, you can still get the pre-order discount.

$100 OFF Torque 3D pre-order discount

This discount will expire when we've released a final version of Torque 3D. If you're already a Torque 3D owner, congrats! Please remember to post your Beta 2 feedback in Torque 3D Private Forums. Thanks!

More development blogs to come. This is post #24.

Torque 3D development blogs:

About the author

Since 2007, I've done my best to steer Torque's development and brand toward the best opportunities in games middleware.

#21
06/18/2009 (5:31 pm)
Yes damn it!
That looks realy good...
#22
06/18/2009 (5:51 pm)
IRC Hour Info

Just to let Torque 3D users know, the changes to the lighting system and terrain are being updated in the documentation as we speak. Sickhead has always been awesome at helping out with docs, so updating has been a snap.

Furthermore, Lara's videos have become a great asset for me to write docs on subjects she encountered first. Honestly, one of the best things that has happened to learning Torque is getting Lara to do these videos =)
#23
06/18/2009 (6:23 pm)
@Nicolas:
Quote: Can you be more precise about when, next week, will beta3 be available, because I will go and visit some customers next week and have been waiting for beta3 to show some Torque3D to my customers.
If I could be more precise, I definitely would. If only software dev were a more precise science...
#24
06/18/2009 (6:25 pm)
@Todd: Sorry, man! I forgot that the ripples were your work. Tom had mentioned that, but it slipped my mind at the time of post :)
#25
06/18/2009 (6:28 pm)
@Michael Hall: Nope, I didn't know that actually. I haven't seen this thing run myself, just that screen. We were originally talking about several different ways to achieve this, but I'm impressed we got this result from the simpler technique.
#26
06/18/2009 (7:48 pm)
And also praise should go to Jaimi McEntire who set us his original ripple effect code we're using. Sickhead just got it all implemented in Torque 3D.
#27
06/18/2009 (8:07 pm)
Quote:And also praise should go to Jaimi McEntire who set us his original ripple effect code we're using. Sickhead just got it all implemented in Torque 3D.
Little help from everyone! Nice. Thanks to Jaimi too.
#28
06/18/2009 (10:29 pm)
Man! I NEED to get this engine!

If only it wasn't so expensive! (not saying it isn't worth every penny).

I need to sell a game =(

Edit: I have a question:

Can I see a video of the parallax terrain? I want to know how it looks from different angles...
#29
06/18/2009 (10:38 pm)
Regarding the cloth - Does it conform to items in the scene? ie, what I'm asking is, is it possible to make a cape for a player, and not have it go through his body (within reasonable limits, of course) or a table cloth that would drop and drape? Can you shoot it? Can you make curtains, and have your player walk between them?
#30
06/18/2009 (11:42 pm)
I'm noticing what could be assumed to be a mesh-road icon in the toolbar. You'd mentioned decal roads and all that awesome jazz, but how are mesh roads going to be set up? Could they be repurposed to use for cave tunnels and the like?
#31
06/19/2009 (1:01 am)
In my experience PhysX cloth is questionable for clothing, though you can probably fudge it well enough for a cape with the right kind of physics volumes on your character. Havok Cloth is much more useful for that type of thing though.

I'm diggin' the parallax terrain there.
#32
06/19/2009 (1:59 am)
Again I ask:

Can I see a small video that shows the parallax terrain? I want to see it from multiple angles to know how it looks...
#33
06/19/2009 (2:35 am)
Hope T3d beta 3 download..............
#34
06/19/2009 (4:23 am)
@Brett: Yeah the aligned particle ripple did the trick quite nicely. I actually got the old TGE splash ring effect working -- with some help from James (from Sickhead) -- but that thing was horrendous with such pretty looking water.

That one simple addition takes fx wizardry for particles to a new level :D
#35
06/19/2009 (4:31 am)
Very cool stuff overall, and a little curious about some details such as (if dif -> collada relates to Torque 3D portal system) and (how easy to add PhysX cloth to an animated character).

One question I bet I'm not lone is wondering about is the cross-platform support for Mac OS-X O:-). Not necessarily the highest priority immediate thing, but I am hoping it will be something Torque 3D supports very well out-of-the-box in the long-term (to easily compile and run on standard Mac OS-X systems: Mac Mini, Macbook, etc).

I'm personally considering to buy a Mac Mini and learn some XCode compiling stuff, just for use with Torque 3D (the Mac would just be a cross-platform compile/test machine btw). Hopefully this is intelligent, to help test (Mac OS-X vs. Windows, ATI vs. NVIDIA, AMD vs. Intel, DirectX vs. OpenGL, XP vs. Vista, etc)
#36
06/19/2009 (7:58 am)
On PhysX cloth...
Quote:Does it conform to items in the scene?
Yes... to anything that has a PhysX collision representation.

Quote:is it possible to make a cape for a player, and not have it go through his body ... or a table cloth that would drop and drape?
Its tricky as Gerald says... but if your careful it could be doable. For instance if your cloth is much lower resolution than the objects its colliding against it can pass thru them. Also its very sensitive to high velocity objects passing thru it.

Quote:Can you shoot it?
We don't have that hooked up yet, but it would be doable.

Quote:Can you make curtains, and have your player walk between them?
For sure... the video didn't show it, but the player can walk thru the cloth and it pushes away.

Quote:how easy to add PhysX cloth to an animated character
We're not aiming to provide that feature out of the box, but it should be fairly easy to solve with a little code work.
#37
06/19/2009 (5:03 pm)
@ Tom: Can you use physx cloth on a players clothing(not like a cape)? Also, I know that the wind hasn't been added yet but will it react to wind as well?
#38
06/19/2009 (5:56 pm)
Starting to look promising :)

The cloth demo shows few issues with the shadowing - shadows sometime "lagging" behind the cloth object animation (like 1-3 frames behind, could be issues with physx integration or multi-threading synchronization if it's used in T3D) or it looks like cloth does not have shadows where it should be while moving (looks like some parts of the cloth do not cast shadows - normals calculation issues?).
#39
06/19/2009 (6:00 pm)
Quote:The cloth demo shows few issues with the shadowing - shadows sometime "lagging" behind the cloth object animation (like 1-3 frames behind, could be issues with physx integration or multi-threading synchronization if it's used in T3D) or it looks like cloth does not have shadows where it should be while moving (looks like some parts of the cloth do not cast shadows - normals calculation issues?).

Or maybe because there are *64* of them? Actually, I was getting like 100fps, and shadows looked fine to me in realtime. Might be the FRAPS overhead.
#40
06/19/2009 (6:08 pm)
Brett... what system spec do you run it on?