Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / How do you make a textured waving flag object?

Author
Message
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 18th May 2006 16:39 Edited at: 18th May 2006 16:39
I had some source code for this, but I can't find it. It was a flag made from plains, joined as limbs, and using a sin or something to flap about. My greyhound stadium will look great with a couple of flags on it.

DB Classic remember...

Thanks!!!

Pincho.

Admin 7737
19
Years of Service
User Offline
Joined: 14th May 2006
Location: Japan... I WISH!!
Posted: 18th May 2006 18:11
Look in the code base, theres one there

-----------------------------------------------------------
Im in A race With 5 People And I'm in third, I over Take 2nd, In what position am I? (Email me for the Answer!)
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 20th May 2006 07:45 Edited at: 20th May 2006 07:51
Something like this?
http://www.angelfire.com/80s/phaelax/cloth_simulation.htm

That's DBP though, I had a simple version for classic, probably closer to the one you had, but the file was hosted on RGT. I'll try to see if I can find it.

Here's mine:



Don't know who wrote this version, uses a matrix:



Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 20th May 2006 13:58
I looked in the code base for flag, and every word I could think of.

Thanks Phaelax that's going to look sweet!

Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 22nd May 2006 11:59 Edited at: 23rd May 2006 01:00
@Phaelax how do you actually scale the flag down in size? I am using your DB Classic version, and scaling is difficult. Also I will need to be able to rotate it so that it points down a bit.


Edit: I have managed to scale it down, but I can't rotate it.

Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 23rd May 2006 03:42
Try and link the planes to a pole as limbs, then see if you can rotate it.

"Using Unix is the computing equivalent of listening only to music by David Cassidy" - Rob Pike
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 23rd May 2006 10:26
Ok thanks!

SFSW
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location:
Posted: 23rd May 2006 22:00
Just as a side note, Phaelax, that is really a great section of code you wrote there in your flag example. Very flexible and well designed. Nice work! Thanks for providing it.

Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 26th May 2006 00:11
@Pincho Paxton : Could you send me your mail adress on myne or messanger adress or anything ? I need to contact you about something, thanks.

Sig. pics are only increasing the loading time of the threads, so why have them...
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 26th May 2006 11:42
Ok I have an Email Address link now.

Login to post a reply

Server time is: 2025-05-25 02:16:01
Your offset time is: 2025-05-25 02:16:01