pixijs / pixi-projection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

extrude 3d photoshop like [feature request]

jonlepage opened this issue · comments

This will be crazy if we can natively use a kind of extrude for sprite3d.
I suggest maybe to use the scale3d.z which seems useless to their current one, to add extrude dimension ?
3dextrud

Any chance to see this kind of stuff or a example playground to make this with gl maybe ?

Actually, very good idea, but it requires geometry changes and we dont have it yet. I'll think about it

this is the more near example i can found, if can help. :)
but a little too complex, something simpler would be welcome.
https://threejs.org/docs/#api/en/geometries/ExtrudeGeometry
https://github.com/mrdoob/three.js/blob/master/src/geometries/ExtrudeGeometry.js

I'm looking more for a simple cardboard effect

@ivanpopelyshev Juste made a fast demo concept to get the feeling :)
these solution is not viable in games for several obvious reasons but we can get the feeling behavior.

You can change the disable color , EXTERUDQuality and scale3d.z
https://www.pixiplayground.com/#/edit/n76Wy_-_WASt7dweauQzM