Howfie's WIP List

Post your WIP Lists here!

Moderators: Dazzy, Runa

User avatar
iheartibuki
Moderator
Posts: 6552
Joined: Sun Aug 19, 2012 9:59 am
Custom Rank: Fappy Bird
Location: The Land of the Free
Contact:

Re: Howfie's WIP List

Post by iheartibuki »

semory wrote:awesome.... almost ready for testing ha ha ha....

now at 2800 lines of code (been typing for days it seems lol)!
http://code.google.com/p/sticklove/sour ... alara.cpp/
What does it do? Will it help me win the lottery? :lol:
"TheyÔÇÖre not only moron but also Galapagosian Lolita Complexed Chicken."

User avatar
Anx
Posts: 146
Joined: Wed Aug 22, 2012 2:52 am
Location: Gravlex Med

Re: Howfie's WIP List

Post by Anx »

semory wrote:i'm just trying to import some level geometry into xnalara. supposedly, the number of bones can be zero so the mesh format is just

0
number of meshes
mesh #1
mesh #2
etc.

main problem is that mesh format requires normals and tangents even if you don't use or need per-vertex normals or normal mapping. it's kind of a funky format.
My main problem was that no Blender 2.6x exporter exists :shock:
After generating my mesh position data for the competion model, I was looking for an xna way to calculate normals and tangents.
I came across the MeshHelper class http://msdn.microsoft.com/en-us/library ... rmals.aspx which provides exactly that functionality. I also just realized that the ouput of MeshHelper.CalculateNormals is hardly useable or not available with XNALara. As a test I tried it on a generated sphere. I guess, I setting up my input data incorrectly. Then I computes new normals for the mesh and get it working. Looks like XPS can recalculate the tangent frames for the given mesh, even if all tangents are zero, but it needs always the normals. Indeed t's kind of a funky format.

Any progress with your lwo -> mesh exporter ?
User avatar
semory
Site Admin
Posts: 7755
Joined: Sat Aug 04, 2012 7:38 pm
Custom Rank: Kitty pu tu tu lay!
Location: Torrance, CA

Re: Howfie's WIP List

Post by semory »

soon soon :), i haven't worked on it since the middle of october. got sidetracked with some other projects.

it's a pain in the butt because what xnalara calls meshes, lightwave calls surfaces. and surfaces can be in multiple layers and each layer is given its own vertex buffer. so i have to merge vertex buffers when meshes are spread across multiple layers, remap indices, etc. it's all a big pain in the butt lol. then there's lightwave's discontinuous vertex mapping... so much bookkeeping it's ridiculous.

but now i see why xnalara requires normals and tangents lol. hmmm...
User avatar
semory
Site Admin
Posts: 7755
Joined: Sat Aug 04, 2012 7:38 pm
Custom Rank: Kitty pu tu tu lay!
Location: Torrance, CA

Re: Howfie's WIP List

Post by semory »

Flat as a pancake hahahaha.

Image
User avatar
Anx
Posts: 146
Joined: Wed Aug 22, 2012 2:52 am
Location: Gravlex Med

Re: Howfie's WIP List

Post by Anx »

semory wrote:Flat as a pancake hahahaha.

Image


Flat as a pancake
Image
truly.
User avatar
semory
Site Admin
Posts: 7755
Joined: Sat Aug 04, 2012 7:38 pm
Custom Rank: Kitty pu tu tu lay!
Location: Torrance, CA

Re: Howfie's WIP List

Post by semory »

mmm yummy
User avatar
thePWA
Porter
Posts: 2416
Joined: Sun Aug 19, 2012 2:27 pm
Custom Rank: JOSHAUAGES v2.0
Location: Earth circa 1999
Contact:

Re: Howfie's WIP List

Post by thePWA »

No wonder i love pancakes. Nutrition value = hot boobies
Stop! Waitaminute! Fill mah cup with some liquor in it!
Post Reply