kovacsv / JSModeler

A JavaScript framework to create and visualize 3D models.
MIT License
648 stars 124 forks source link

Prism Generator #16

Closed mhemrg closed 7 years ago

mhemrg commented 8 years ago

Hi, Is there any way to use Prism Generator in our project (like in demo)?

kovacsv commented 8 years ago

Hi,

Of course you can use anything in your project, including the prism generator, and the UI. If you would be more specific, maybe I could give you some tips.

Viktor

mhemrg commented 8 years ago

Yes, I'm interested in to listen your tips. But I'm new in HTML5 Canvas!

kovacsv commented 8 years ago

Ok, so what would you like to do?

mhemrg commented 8 years ago

I'm going to create a pad for my users so they can draw a shape on it (Like pen tool in Photoshop or your prism generator in demo page). After that, I will create a 3D room from that shape.

indranyeve commented 8 years ago

hello, I'd like to know if it's posible to sculp a 3D object from zero, I mean starding from nothing and truning into a cup, a bottle, a glass of wine, can I do that with this pluging or this olny work for cubes and basic forms???

kovacsv commented 8 years ago

Hi! Sculpting is not possible, but JSModeler contains importer for 3ds, obj and stl files.

kovacsv commented 8 years ago

Dear mhemrg! Please take a look at the sandbox folder. There you can find a polygon editor, and examples on using the framework. If you created the polygon with any tool, I can help you to generate a prism from the points of the polygon.

kovacsv commented 8 years ago

I have created a fiddle, which generates a room from a polygon: http://jsfiddle.net/Lnye1t1x/1/

mhemrg commented 8 years ago

Yes! Thanks a lot for this snippet.