Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 12 Jan 2008
Offline Last Active Jul 15 2012 10:03 AM

Posts I've Made

In Topic: question about D3DReadFileToBlob

01 July 2012 - 08:24 AM

You need to use the version of DirectX that ships with Win8.

Need this: D3dcompiler_44.dll

It's not included in the JUNE2010 SDK.

June 2010 has this: D3dcompiler_43.dll

Thanks! I tried to load the binary using fread into a buffer, and that seems to work.

In Topic: question about scene parameterization

10 October 2009 - 03:39 PM

Thanks! DirectX has UVatlas, but it always crashes and gives the reason "out of memory".
Original post by eq
Most 3d packages have a tool for this (dunno about 3ds or blender though).
Look up keywords such as UV-atlas, surface parameterization.
Also the DirectX framework contains methods for generating these maps.

BTW. I assumed that you wanted a unique piece of the texture for every triangle.
A unique UV per vertex doesn't give you that.

In Topic: question about volume texture

18 June 2009 - 06:15 AM

Thanks, I made it work by using LockBox.
The code is a little ugly, still wondering why there is no better way to do this.
Original post by ET3D
You get call GetVolumeLevel, then use LockBox on that, and write the data you want.

The D3DXFillVolumeTexture page in the docs has an example of what the function should look like.

In Topic: How to define vertex gradient on a mesh

15 April 2009 - 02:18 PM

Generally, to define the gradient domain on an image is trivial (calculate the pixel difference). Similarly, I'd like to define gradient domain on a 3D mesh, where the vertex positions are the information to gradify about. It might not make much sense to do this (maybe to define it on each triangle patch makes more sense), I am just wondering if there is some elegant way to define it...

Original post by WarAmp
I'm still not sure your question actually makes any sense.

You want to define a position gradient on a mesh?

Can you re-phrase the question or give us more information about what you are trying to accomplish?

In Topic: How to define vertex gradient on a mesh

15 April 2009 - 07:18 AM

The position gradient, thanks!
Original post by bzroom
What's a vertex gradient?

A gradient is a changing attribute. You could have a color gradient, or a position gradient, or a normal gradient.. or any other vertex attribute.

What exactly are you trying to gradientify?