View previous topic :: View next topic |
Author |
Message |
chronozphere DeleD PRO user
Joined: 20 Jun 2006 Posts: 1010 Location: Netherlands
|
Posted: Fri May 15, 2009 1:05 pm Post subject: |
|
|
Wow.. This is really nice. I'm going to check it out.
I just realized that the errors DeleD was throwing at me could be related to the DecimalSeperator. Did you set that to "." at the beginning of the "PluginExecute" routine? |
|
Back to top |
|
|
paul_nicholls DeleD PRO user
Joined: 05 Dec 2007 Posts: 356 Location: Hobart, Tasmania, Australia
|
Posted: Fri May 15, 2009 1:46 pm Post subject: |
|
|
chronozphere wrote: |
Wow.. This is really nice. I'm going to check it out.
I just realized that the errors DeleD was throwing at me could be related to the DecimalSeperator. Did you set that to "." at the beginning of the "PluginExecute" routine? |
Thanks for the kind words
I didn't set the decimal separator to "."...do you think that could be an issue?
cheers,
Paul _________________ Long live DeleD!
Hi ho...hi ho...it's off 3d modeling I go... |
|
Back to top |
|
|
chronozphere DeleD PRO user
Joined: 20 Jun 2006 Posts: 1010 Location: Netherlands
|
Posted: Fri May 15, 2009 3:41 pm Post subject: |
|
|
Hmm.. It appears that the archive has been damaged. Can you upload it again?
Quote: |
I didn't set the decimal separator to "."...do you think that could be an issue?
|
Yeah.. I think this might solve my issues. Please add the line, and I'll test. |
|
Back to top |
|
|
paul_nicholls DeleD PRO user
Joined: 05 Dec 2007 Posts: 356 Location: Hobart, Tasmania, Australia
|
Posted: Fri May 15, 2009 9:58 pm Post subject: |
|
|
chronozphere wrote: |
Hmm.. It appears that the archive has been damaged. Can you upload it again?
Quote: |
I didn't set the decimal separator to "."...do you think that could be an issue?
|
Yeah.. I think this might solve my issues. Please add the line, and I'll test. |
Done, and done
BTW, the zip file works for me with 7zip and the windows XP built in compressed folders accessor...I don't have WinZIP installed.
7zip is brilliant...handles all sorts of archive types, has better compression than WinZIP (for 7z files), and is free!
cheers,
Paul _________________ Long live DeleD!
Hi ho...hi ho...it's off 3d modeling I go... |
|
Back to top |
|
|
chronozphere DeleD PRO user
Joined: 20 Jun 2006 Posts: 1010 Location: Netherlands
|
Posted: Fri May 15, 2009 10:32 pm Post subject: |
|
|
Great... both the icosahedron and the scale sample seem to work now.
And SynEdit works great.
One thing i noticed: DeleD is sometimes not immediately updated after clicking the execute button. When i click a second time, i see my scene scaling 4 times it's original size. It might be me being foolish (I Need some sleep ). Will investigate tomorrow. |
|
Back to top |
|
|
paul_nicholls DeleD PRO user
Joined: 05 Dec 2007 Posts: 356 Location: Hobart, Tasmania, Australia
|
Posted: Fri May 15, 2009 11:35 pm Post subject: |
|
|
chronozphere wrote: |
Great... both the icosahedron and the scale sample seem to work now.
And SynEdit works great.
One thing i noticed: DeleD is sometimes not immediately updated after clicking the execute button. When i click a second time, i see my scene scaling 4 times it's original size. It might be me being foolish (I Need some sleep ). Will investigate tomorrow. |
You aren't imagining things <G>
Sometimes DeleD refreshes/updates when you move the DeleD scripting dialog box,but usually you need to close DeleD scripting before you can see all your results...
So if you execute twice, your scene will scale 4x instead.
Have a nice sleep ZZZZzzzzz.....
cheers,
Paul _________________ Long live DeleD!
Hi ho...hi ho...it's off 3d modeling I go... |
|
Back to top |
|
|
paul_nicholls DeleD PRO user
Joined: 05 Dec 2007 Posts: 356 Location: Hobart, Tasmania, Australia
|
Posted: Tue May 19, 2009 1:08 am Post subject: |
|
|
Hi all,
as well as the primitive Import_RAW() command, there is now a Import_PLG() command too
The PLG file format is the one used for the REND386 DOS 3d virtual reality program that came out in the early '90s
Some example PLG files are here:
http://www.martinreddy.net/ukvrsig/rend386.html
The specification of PLG can be found here:
http://local.wasp.uwa.edu.au/~pbourke/dataformats/plg/
Also, the Import_ commands now can supply an optional boolean value (true or false - is case sensitive) to say whether the polygons are reversed or not if required.
There are some other new commands now too:
Primitive Object Commands
GetMinX() & GetMaxX()
GetMinY() & GetMaxY()
GetMinZ() & GetMaxZ()
obviously returns the min and max values for the bounding box of the primitive
SetAsBox(w,h,d,x,y,z)
sets the current primitive as a 3d box:
w = width (x)
h = height (y)
d = depth (z)
I have updated the documentation and dll in the zip file
I have also included a PLG import script example, and an example PLG file as well (from some game called Dactyl in a virtual reality program in the early '90s)
http://fpc4gp2x.eonclash.com/downloads/DeleDScript.zip
Get it while it is hot!
cheers,
Paul _________________ Long live DeleD!
Hi ho...hi ho...it's off 3d modeling I go... |
|
Back to top |
|
|
paul_nicholls DeleD PRO user
Joined: 05 Dec 2007 Posts: 356 Location: Hobart, Tasmania, Australia
|
Posted: Tue May 19, 2009 2:38 am Post subject: |
|
|
Two more commands have been added:
Primitive Object Commands
SphericalMap_UseNormals() - This command will attempt to spherically texture map this primitive using vertex (smooth) normals calculated from the primitive. See here for explanation of spherical mapping with normals:
http://www.mvps.org/directx/articles/spheremap.htm
SphericalMap_UseVertices() - This command will attempt to spherically texture map this primitive using vertex positions relative to the primitive’s origin. See here for explanation of positional spherical mapping:
http://www.mvps.org/directx/articles/spheremap.htm
Zip (dll + doc) file is updated, so enjoy
cheers,
Paul _________________ Long live DeleD!
Hi ho...hi ho...it's off 3d modeling I go... |
|
Back to top |
|
|
chronozphere DeleD PRO user
Joined: 20 Jun 2006 Posts: 1010 Location: Netherlands
|
Posted: Tue May 19, 2009 6:21 am Post subject: |
|
|
wow... If you keep adding new functions at this rate, there will be no need for my UV-plugin when It's released.
Good job though... I'm in the middle of my exams here, so I can't take a closer look just now, but I will do that sometime.
Last edited by chronozphere on Tue May 19, 2009 6:43 am; edited 1 time in total |
|
Back to top |
|
|
paul_nicholls DeleD PRO user
Joined: 05 Dec 2007 Posts: 356 Location: Hobart, Tasmania, Australia
|
Posted: Tue May 19, 2009 6:38 am Post subject: |
|
|
chronozphere wrote: |
wow... If you keep adding new functions at this rate, there will be no need for my UV-plugin when It's released.
Good job though... I'm in the middle of my exams here, so I can't take a closer look just now, but I will do that sometime. |
lol...don't worry, I'm not making a UV editor like you are, I just wanted to add 1 or two simple UV functions (mainly as tests, but could be useful).
You will still have a UV plugin job
cheers,
Paul _________________ Long live DeleD!
Hi ho...hi ho...it's off 3d modeling I go... |
|
Back to top |
|
|
chronozphere DeleD PRO user
Joined: 20 Jun 2006 Posts: 1010 Location: Netherlands
|
Posted: Wed Jun 03, 2009 4:52 pm Post subject: |
|
|
So, are you still working on this? Any more features you want to implement? |
|
Back to top |
|
|
paul_nicholls DeleD PRO user
Joined: 05 Dec 2007 Posts: 356 Location: Hobart, Tasmania, Australia
|
Posted: Wed Jun 03, 2009 10:41 pm Post subject: |
|
|
chronozphere wrote: |
So, are you still working on this? Any more features you want to implement? |
Hi chronozphere,
yes I am still working on this, I am trying to add obj (and possibly 3ds) importing to the scripting...was having some issues though.
I have slowed down working on it at the moment due to me now attempting to help Paul-Jan and Jeroen with fixing DeleD bugs and doing enhancements
I will try and release a newer version soon though...
cheers,
Paul _________________ Long live DeleD!
Hi ho...hi ho...it's off 3d modeling I go... |
|
Back to top |
|
|
AWM Mars Member
Joined: 06 Jan 2010 Posts: 1195 Location: Wilts England
|
Posted: Fri Jun 18, 2010 4:26 pm Post subject: |
|
|
I can see the benefits of using such a tool to produce random asteriods, plants, grass etc etc.... but getting my head around scripting a programme to do it.. I'd have to do it manually lol.
Seriously, its a great tool, one I can see a lot of people gaining from. You do good work Paul _________________ Politeness is priceless when received, cost nothing to own or give, yet some cannot afford.
Checkout:
http://www.awm.mars.yourinside.com/
http://www.bccservices.co.uk
http://www.localtradecheck.co.uk |
|
Back to top |
|
|
paul_nicholls DeleD PRO user
Joined: 05 Dec 2007 Posts: 356 Location: Hobart, Tasmania, Australia
|
Posted: Sat Jun 19, 2010 12:12 am Post subject: |
|
|
AWM Mars wrote: |
I can see the benefits of using such a tool to produce random asteriods, plants, grass etc etc.... but getting my head around scripting a programme to do it.. I'd have to do it manually lol.
Seriously, its a great tool, one I can see a lot of people gaining from. You do good work Paul |
Thanks for the kind words
I am currently trying to integrate the scripting directly into DeleD now, but I will continue this AFTER chronozphere and I get the paths fully working first
cheers,
Paul _________________ Long live DeleD!
Hi ho...hi ho...it's off 3d modeling I go... |
|
Back to top |
|
|
|