Jump to content


Chris Herold

Member Since 09 Jan 2006
Offline Last Active Jan 29 2013 01:42 PM
-----

Posts I've Made

In Topic: Issue with dynamic VertexBuffer reuse in Direct3D9

06 January 2013 - 07:18 PM

View PostSnoob, on 06 January 2013 - 06:38 PM, said:

I pass first 6 Vertices, at 2nd also six (changed texture) and finally 12 Vertices using same texture as data from first pass. The issue occurs rendering the final content. Each pass has zero offset. I thought the discard flag ensures that the content of the buffer is discard completely.

You're right of course... Discard flag will drop the complete buffer. Sorry for the confusion.
I've got a feeling this thread contains your answer (JeffFs answer in particular):
http://www.gamedev.n...fer9lockmethod/

In Topic: Issue with dynamic VertexBuffer reuse in Direct3D9

06 January 2013 - 05:32 PM

View PostReedbeta, on 06 January 2013 - 05:28 PM, said:

Are your writes are contiguous? I.e. when you call writeData you pass in an offset and length, so I guess you are only overwriting a portion of the data each time; is it possible you're leaving unwritten space between sections of data?

That was also my first thought.
When you want to discard the buffer contents, make sure you discard it completely.
Passing incoherent offset/length is most likely the problem here.

In Topic: Need a GUI system? - Look here

25 November 2012 - 12:22 PM

The logo in the TV3D sample is not drawn by Squid, but by the TV3D engine.
If the position is off, that's a problem in TV3D. Although i haven't seen it behave like you said.

The GUI can be reskinned however you want - the close button is "empty" because it's just a sample.
Tooltips can be easily changed and customized.

In essence, we ship Squid with a sample Skin and a sample Desktop.
Everything you see there can be easily changed to your liking.
You should open the solution and look at the SampleDesktop sourcecode.

Squid SDK and Squid.Unity are 2 seperate things.
The SDK is engine independent. Squid.Unity obviously only works with Unity.

In Topic: Need a GUI system? - Look here

23 November 2012 - 02:00 PM

View Postv71, on 23 November 2012 - 01:56 PM, said:

Excuse me if my question is stupid, i'd like to know if you can use the sdk in a c++ environment ( visual studio more precisely )

I'll have to answer this with a link: http://stackoverflow...ll-in-project-c

Note that Squid.dll is not COM visible. I'm willing to look into that if it is an absolute requirement for you.