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.

Code Snippets / [DBP] MakeObjectDisc

Author
Message
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 6th Dec 2007 18:54 Edited at: 6th Dec 2007 18:57
Makes a UV-mapped disc with the size and amount of polygons you specify.



Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)
Alsan
18
Years of Service
User Offline
Joined: 20th May 2005
Location: Germany - Nähe Kassel
Posted: 6th Dec 2007 19:52
Neat.

Had to set TEMPORARY_MESH_NUM and TEMPORARY_MEMBLOCK_NUM to 1 before it worked, though.

For more flexibility you could possibly add faces like in the attached picture.

Attachments

Login to view attachments
Kohaku
20
Years of Service
User Offline
Joined: 3rd May 2004
Location: The not very United Kingdom
Posted: 7th Dec 2007 10:29
That's neat!

I'll be sure to add it to my 20 liner, along with the 'make object stapler' and 'make object postman' functions.

But no, it is neat.


You are not alone.
TEH_CODERER
20
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 7th Dec 2007 10:44
Now that would just need some simple editing to make a capped cylinder function! Nice!

Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 7th Dec 2007 15:47
Thanks guys.

Quote: "For more flexibility you could possibly add faces like in the attached picture."

For what?

Quote: "Now that would just need some simple editing to make a capped cylinder function! Nice!"

I'm considering it.

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)

Login to post a reply

Server time is: 2024-05-17 04:17:27
Your offset time is: 2024-05-17 04:17:27