mrvux / feraltic Goto Github PK
View Code? Open in Web Editor NEWSmall utilities wrapper for SlimDX / Direct3D11
Small utilities wrapper for SlimDX / Direct3D11
I would like to have the Penthacoron node in DX11.
I wrote an EX9 version and it uses a transform matrix input pin, see https://github.com/vvvv/vvvv-sdk/blob/develop/vvvv45/addonpack/src/nodes/plugins/Mesh/Penthacoron/Penthacoron.cs#L57
My goal is to have a Penthacoron as a template to then add also the other Platonic 4d solids (I have the points).
Is it possible to start from Tetrahedron adding the input matrix and the corresponding 4d vertices transformed into 3d (I used a projection matrix, see https://github.com/vvvv/vvvv-sdk/blob/develop/vvvv45/addonpack/src/nodes/plugins/Mesh/Penthacoron/Penthacoron.cs#L308)?
Any hint or snippet you can show me please, specially how to add an input matrix and wich functions to multiply a 4d vector ?
Starting with your help I could add the other primitives (Hypercube, 24-cell. 16-cell, 120-cell, 620-cell).
you've got:
public void WriteDataPitch(IntPtr ptr, int len, int rowsize = 4)
just a matter of opinion, but i think the syntax would be better as
public void WriteDataPitch(IntPtr ptr, int stride, int rows)
where 'stride' is the stride of the input data
rowsize is a little ambiguous, and the input data might have a non 'integer * width' stride, (e.g. 'integer * width + integer').
Check if device allows raw buffer, and don't add flag in case it's not possible.
Add a geometry type to allow multiple vbo instead of interleaved mode.
Geometry winding should be ClockWise for 2d, and consitent across geometries.
Also scaling should be unit cube.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.