rohitvarkey / ThreeJS.jl

Julia interface to WebGL using Three-js custom elements and Patchwork.jl
https://rohitvarkey.github.io/ThreeJS.jl
Other
56 stars 15 forks source link

example of image/bitmap #24

Open jingpengw opened 8 years ago

jingpengw commented 8 years ago

if there is an example to show rendering of an image/bitmap, that would be awesome.

rohitvarkey commented 8 years ago

Can you explain your use case a bit more? Is it for using textures on 3D objects or just to display a 2D image as a sprite?

I've not worked on the image support much, but I've just added an example that renders images as texture. ThreeJS can't display them as sprites yet though.

jingpengw commented 8 years ago

Just display a 2D image as a sprite. Thanks for the example!