conveyor belt test

Share with us how are you using the powerrrr of the force

Moderator: Alain

conveyor belt test

Postby walaber » Thu May 05, 2005 10:42 pm

ever since I first started working with Newton I've wanted to make a conveyor belt... but I never got around to it. yesterday I decided to give it a quick try, and it was almost too easy (using a ContactCallback)!!

here's a video of the results. I think it works pretty good for a quick test! :D

this demo will be included in the next release of OgreNewt :)
Independent game developer of (mostly) physics-based games. Creator of "JellyCar" and lead designer of "Where's My Water?"
User avatar
walaber
Moderator
Moderator
 
Posts: 393
Joined: Wed Mar 17, 2004 3:40 am
Location: California, USA

Postby Thomas » Fri May 06, 2005 12:59 am

cool! i like the stencil shadows in this one! the only thing missing is a scrolling texture. :) would this be easy with ogre?
Thomas
Moderator
Moderator
 
Posts: 65
Joined: Sat Nov 01, 2003 1:51 pm
Location: austria

Postby walaber » Fri May 06, 2005 2:20 am

extremely easy. I just tossed this together in a few minutes... I'll update the texture and what not before I release the next OgreNewt version :D
Independent game developer of (mostly) physics-based games. Creator of "JellyCar" and lead designer of "Where's My Water?"
User avatar
walaber
Moderator
Moderator
 
Posts: 393
Joined: Wed Mar 17, 2004 3:40 am
Location: California, USA

Postby bal » Fri May 06, 2005 4:37 am

Wow, this looks fantastic. Congrats walaber :).
User avatar
bal
 
Posts: 18
Joined: Wed Nov 10, 2004 10:03 am

Postby Julio Jerez » Fri May 06, 2005 4:38 am

Ah I see you are mastering some of the secrets of the Newton side.
How is it the last time we met I was the Master and you where the apprentice, now You are the Master and I am the apprentice my powers are weak. (or something like that in reverse).
There are sore hidden powers in Newton that may consider unnatural.
Very nice and very nice presentation too.
Last edited by Julio Jerez on Sat May 07, 2005 4:23 am, edited 1 time in total.
Julio Jerez
Moderator
Moderator
 
Posts: 11039
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Postby kjelle69 » Fri May 06, 2005 9:20 am

I have tried to make a conveyor myself for the simulation of industrial processes. However, it did not look that good !

How ? !
User avatar
kjelle69
 
Posts: 60
Joined: Fri Aug 27, 2004 9:08 am
Location: Koskullskulle, Sweden

Postby walaber » Fri May 06, 2005 11:56 pm

it's really, really easy. in the ContactCallback (material callback), you simply use the following commands:

NewtonMaterialContactRotateTangentDirections to align the tangent with the direction of the conveyor belt.

and then

NewtonMaterialSetContactTangentAcceleration - to apply an acceleration to the contact. that's really all there is to it.

unfortunately this must be done inside the contact callback, so it's impossible in the DBPro wrapper, as there's no way to let the user create their own callbacks :(

p.s. I added an animated texture, and it looks really cool!
Independent game developer of (mostly) physics-based games. Creator of "JellyCar" and lead designer of "Where's My Water?"
User avatar
walaber
Moderator
Moderator
 
Posts: 393
Joined: Wed Mar 17, 2004 3:40 am
Location: California, USA

Postby Julio Jerez » Sat May 07, 2005 4:24 am

Videos, video, video. eeeeh
Julio Jerez
Moderator
Moderator
 
Posts: 11039
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Postby Robomaniac » Sun May 08, 2005 9:04 am

Looks awesome walaber :)

I look forward to adding this to cf when i get around to adding physics again :\
Stephen Eckenrode
Lead Programmer/Project Head
Centaur Force
User avatar
Robomaniac
 
Posts: 7
Joined: Mon Jan 03, 2005 9:17 pm


Return to User Gallery

Who is online

Users browsing this forum: No registered users and 1 guest

cron