Difference between revisions of "User talk:Eddy Stryker/XNA Sculptpreview"
m |
SOb Zemlja (talk | contribs) m |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 8: | Line 8: | ||
*Rearranged things to better facilitate LOD changing (could be done better). | *Rearranged things to better facilitate LOD changing (could be done better). | ||
[http://mailerdaemon.home.comcast.net/SculptedPreview.zip Download] | [http://mailerdaemon.home.comcast.net/SculptedPreview.zip Download] | ||
---- | |||
Awesome Strife, I'm going to look it over today and hopefully upload this latest version to my site as well. Thanks for picking up the slack where I left off! [[User:Eddy Stryker|Eddy Stryker]] 11:50, 10 May 2007 (PDT) | |||
:I dunno if that is such a good idea. I did some ugly/bad things in the code. One of the areas that has been giving me ''constant'' problems has been the 'Create the indices' section, there is something wrong with that section (and I don't fully grok what it is doing so it is hard for me to fix it), I get array bounds errors on odd sized maps. I'd really like it if all the information I'm writing to the window title were written into the rendering space. The resizing code is a hack (couldn't figure out how to do it in XNA). And I don't know how to get it to resize the rendering space so it maintains the aspect ratio on the model. <.< I done bad things in the name of functionality. -- [[User:Strife Onizuka|Strife Onizuka]] 15:38, 10 May 2007 (PDT) | |||
::Just remembered, to rotate the mesh not using the camera (the darn camera suffers from gimbal lock), I couldn't figure out how I was supposed to rotate an object so I modified how the points were read. -- [[User:Strife Onizuka|Strife Onizuka]] 15:50, 10 May 2007 (PDT) | |||
:I'm thinking that the next step is to add events so the interface can auto-update when variables change (menu & slider stuff). *uploads the latest version* -- [[User:Strife Onizuka|Strife Onizuka]] 15:45, 10 May 2007 (PDT) | |||
---- | ---- | ||
Line 16: | Line 24: | ||
You can skip the stuff that i wrote, but Michael Gibson knows how to do it. | You can skip the stuff that i wrote, but Michael Gibson knows how to do it. | ||
He wrote Rhino and MoI. | He wrote Rhino and MoI. -- [[User:Cindy Crabgrass]] | ||
:He totally lost me with the "barycentric coordinates" (would help if I knew what that meant. That thread is a great read. I'm thinking about extending {{HoverText|this|SculptPreview}} further to be an editor too (and later I'll probably write a previewer for Paint.net based on this). -- [[User:Strife Onizuka|Strife Onizuka]] 06:48, 10 May 2007 (PDT) | |||
---- | |||
The constraints of his algorithm make it a non-starter for what I am looking at. Specifically "I should mention that this algorithm only works for certain conditions - your object should be made up of just one single surface, not multiple surfaces (like a cube has 6 surfaces in it normally, this won't work. You have to create a special cube that is made up of just one surface instead)." [[User:Eddy Stryker|Eddy Stryker]] 11:49, 10 May 2007 (PDT) | |||
---- | |||
Updated version -- [[User:SOb Zemlja|SOb Zemlja]] 07:52, 2 November 2008 (UTC) | |||
*Compiled with [http://www.microsoft.com/downloads/details.aspx?familyid=6521d889-5414-49b8-ab32-e3fff05a4c50&displaylang=en&tm Microsoft XNA Framework Redistributable 3.0] | |||
*Added mouse coursor (unusable, but visible) | |||
[http://www.slcontent.ru/files/SculptedPreview.zip Download] |
Latest revision as of 23:52, 1 November 2008
Hey, I've made a modified version -- Strife Onizuka 14:53, 6 May 2007 (PDT)
Changes:
- Rotate a model for easier viewing (independent of the camera, hack).
- Reworked the camera to be more like that of SL
- Reworked the pole calculation (it is done independent of LOD)
- Added LOD changing, it's done by resizing the sculpt image.
- Added a LOD slider
- Rearranged things to better facilitate LOD changing (could be done better).
Awesome Strife, I'm going to look it over today and hopefully upload this latest version to my site as well. Thanks for picking up the slack where I left off! Eddy Stryker 11:50, 10 May 2007 (PDT)
- I dunno if that is such a good idea. I did some ugly/bad things in the code. One of the areas that has been giving me constant problems has been the 'Create the indices' section, there is something wrong with that section (and I don't fully grok what it is doing so it is hard for me to fix it), I get array bounds errors on odd sized maps. I'd really like it if all the information I'm writing to the window title were written into the rendering space. The resizing code is a hack (couldn't figure out how to do it in XNA). And I don't know how to get it to resize the rendering space so it maintains the aspect ratio on the model. <.< I done bad things in the name of functionality. -- Strife Onizuka 15:38, 10 May 2007 (PDT)
- Just remembered, to rotate the mesh not using the camera (the darn camera suffers from gimbal lock), I couldn't figure out how I was supposed to rotate an object so I modified how the points were read. -- Strife Onizuka 15:50, 10 May 2007 (PDT)
- I'm thinking that the next step is to add events so the interface can auto-update when variables change (menu & slider stuff). *uploads the latest version* -- Strife Onizuka 15:45, 10 May 2007 (PDT)
Looking for an Algorithm to export .obj ?
You might find this Thread very helpful. :)
You can skip the stuff that i wrote, but Michael Gibson knows how to do it.
He wrote Rhino and MoI. -- User:Cindy Crabgrass
- He totally lost me with the "barycentric coordinates" (would help if I knew what that meant. That thread is a great read. I'm thinking about extending this further to be an editor too (and later I'll probably write a previewer for Paint.net based on this). -- Strife Onizuka 06:48, 10 May 2007 (PDT)
The constraints of his algorithm make it a non-starter for what I am looking at. Specifically "I should mention that this algorithm only works for certain conditions - your object should be made up of just one single surface, not multiple surfaces (like a cube has 6 surfaces in it normally, this won't work. You have to create a special cube that is made up of just one surface instead)." Eddy Stryker 11:49, 10 May 2007 (PDT)
Updated version -- SOb Zemlja 07:52, 2 November 2008 (UTC)
- Compiled with Microsoft XNA Framework Redistributable 3.0
- Added mouse coursor (unusable, but visible)