Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

Search found 48 matches

by VincentPix
03 Jun 2016, 23:31
Forum: How to...
Topic: Gouraud shader
Replies: 7
Views: 5109

Re: Gouraud shader

thanks for this. :)
by VincentPix
03 Jun 2016, 16:33
Forum: How to...
Topic: Gouraud shader
Replies: 7
Views: 5109

Gouraud shader

Hi

Is there somewhere the template for gouraud shader in Ventuz ?
including textures, material, lights,...

I want to do a custom vertex noise for an object with gouraud or phong shading.
by VincentPix
23 Feb 2016, 18:01
Forum: How to...
Topic: Matrix Array in C# script
Replies: 4
Views: 3552

Re: Matrix Array in C# script

I found !

1st Declare a namespace just after the "using VentuzKernel;" :

using SlimDx;


2nd to declare a new matrix array :

Matrix[] MyMat = new Matrix[5];

Have fun.
by VincentPix
23 Feb 2016, 12:42
Forum: How to...
Topic: Matrix Array in C# script
Replies: 4
Views: 3552

Re: Matrix Array in C# script

Thank you very much for your answer which solved a part of my problem.
The second part is : the "MatrixType"
I have miss something but I can't find the right way to decare it. Should I declare a namespace first ?

Thank you.
by VincentPix
06 Feb 2016, 13:23
Forum: How to...
Topic: Matrix Array in C# script
Replies: 4
Views: 3552

Matrix Array in C# script

Hello,

I'm trying to work with a Matrix Array (an array of transform matrices) and I can't find how to assign a matrix to each index.

something like :

MatrixArray[0] = Matrix1;

If someone has some hints to help...

Have a nice day !
by VincentPix
09 Nov 2015, 12:45
Forum: How to...
Topic: Mesh and vertex buffer
Replies: 18
Views: 11619

Re: Mesh and vertex buffer

Hello,

OK
Let's try another way.

May be we have to import as one mesh a geometry containing several objects and then we can edit the positions of each sub-object with an array of values.
What do you think about it ?

VT
by VincentPix
04 Nov 2015, 16:17
Forum: How to...
Topic: Mesh and vertex buffer
Replies: 18
Views: 11619

Re: Mesh and vertex buffer

Thank you TVM And thank you for the transformation matrix tuto. But my real idea is to spread with math functions simple objects (rectangles, boxes) and may be more complexe (imported 3D mesh), using translation vector (or matrix) I understand your answer and the limitation of the DX version. but as...
by VincentPix
19 Oct 2015, 13:14
Forum: How to...
Topic: Mesh and vertex buffer
Replies: 18
Views: 11619

Re: Mesh and vertex buffer

Hi Thanks for your answer and sorry for the missing datas in my previous post. I'm trying to draw several simple rectangles (4 vertices) with only one rectangle and a shader in my hierarchy. MyPos is an array of float4 : coordinates of the different rectangles I wish to draw (the w value = 0) Only t...
by VincentPix
15 Oct 2015, 17:37
Forum: How to...
Topic: Mesh and vertex buffer
Replies: 18
Views: 11619

Re: Mesh and vertex buffer

heeeelp
If someone has any hint for me

Code: Select all

vs2ps Out;
	for( uint i = 0;i < 4; i++ )
	{
		PosO = PosO + MyPos[i];
	}
		
	//transform position
	Out.Pos = mul(PosO, tWVP);
    
	//transform texturecoordinates
	Out.TexCd = TexCd;

	return Out;
}
by VincentPix
15 Oct 2015, 14:59
Forum: How to...
Topic: Mesh and vertex buffer
Replies: 18
Views: 11619

Re: Mesh and vertex buffer

Hi there Happy of this cool discussion. I'm actually struggling to find the right way to manage this "GPU spread". I thought to an array of float4x4 but can't figure if the shader allow that. ? I've already find a way to edit live the 4 vertices of a simple rectangle (a dynamic shape surfa...