Jump to content

Skinning on CPU or another mothod?


Andy Gilbert
 Share

Recommended Posts

Hi, im trying to load a mesh that has 2 bones with attached verts to them so i can find them and rotate them in LE.

 

Is the only way to do this by using the "skin" shader? I ask because when i do using my laptop with built in ATI graphics, the mesh dissapears without any error, i can only imagine this is due to the skinning being done on the GPU? Trouble is i use my laptop for most of my work and FPS wise LE runs fine at 30fps, just this skinning issue thats giving me headache.

 

Or is there another way to "find" a set of verts within a mesh and rotate them? I dont want to have them as seperate models as this seem inificenct and as there might be alot of similer models it would be difficult to organise them all.

 

Thanks

Andy

The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do.

 

Leadwerks Game-Ready 3D Models:https://sellfy.com/gib3d

Link to comment
Share on other sites

Ken is manipulating bones in this tutorial http://www.leadwerks...ks-tutorial-r83

 

no idea if this will work for you

 

EDIT: not really what you want I guess

 

There was an intel article about CPU Skinning here http://software.inte...ng-for-3d-games

 

unfortunately the attached source code is not available anymore

Windows 7 home - 32 bits

Intel Quad Q6600 - nVidia GTX 460 1GB - 2 GB RAM

Link to comment
Share on other sites

Its not the model josh, i can try any model that requires the "skin" shader, it dissapears?

 

remove the skin shader and it appears again, but can i manipulate bones and there attached verts without the skin shader?

 

Andy

The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do.

 

Leadwerks Game-Ready 3D Models:https://sellfy.com/gib3d

Link to comment
Share on other sites

but can i manipulate bones and there attached verts without the skin shader?

 

maybe this is one part of the solution http://www.leadwerks...?f=32&t=4518��?

 

but vertex are probably not attached to bones .... their position is probably computed from closest bone and the info is in the GPU so you can't get it back, you'll probably have to play the bone animation manually. Big job.

 

Just curious, what's your ati hardware exactly ? AMD fusion ?

Windows 7 home - 32 bits

Intel Quad Q6600 - nVidia GTX 460 1GB - 2 GB RAM

Link to comment
Share on other sites

Trouble is i use my laptop for most of my work and FPS wise LE runs fine at 30fps.

 

What exactly runs fine with 30fps... the editor without anything added? If so I wouldn't exactly call that fine.

STS - Scarlet Thread Studios

AKA: Engineer Ken

 

Fact: Game Development is hard... very bloody hard.. If you are not prepared to accept that.. Please give up now!

Link to comment
Share on other sites

Hi Scarlet , when i say "fine" im referring to just me editing levels and testing code sat on the sofa in my living room, as apposed to upstairs out the way in the little computer room.

 

WChris, not sure im at work at the moment but will check when i get back.

 

Andy

The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do.

 

Leadwerks Game-Ready 3D Models:https://sellfy.com/gib3d

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...