Thanks guys :)

On Tuesday, 10 November 2015 13:20:44 UTC+2, Rohit Thankachan wrote:
>
> I've made a few changes to the file Steve pointed you to. It can be found 
> at https://gist.github.com/rohitvarkey/5be4542faff17014afc7.
>
> If you use Escher to run that file, you can load .obj files by just typing 
> in the filename (provided you ran the Escher server from the directory the 
> file exists) or the absolute path to the file in the input field. A very 
> primitive mesh viewer in Julia I guess. :)
>
> Regards,
> Rohit  
>
> On Monday, 9 November 2015 22:15:01 UTC+5:30, Steve Kelly wrote:
>>
>> The faces can be accessed with faces(load("foo.obj")) or mesh.faces.
>>
>> Probably the easiest way to display the mesh at this point is with 
>> ThreeJS.jl: 
>> https://github.com/rohitvarkey/ThreeJS.jl/blob/master/examples/mesh.jl. 
>> This approach should work in IJulia and Blink.
>>
>> GLVisualize has some good demos and a much more responsive backend, but 
>> it needs some work to run in OpenGL < 3.3 and the working commits aren't on 
>> Metadata yet. Meshes is kind of a weird state right now, and most of the 
>> functionality can be had with GeometryTypes, Meshing, and MeshIO. We have 
>> been working the past few months to finish the coupling between data 
>> structures for geometry and visualization. It would be great to hear your 
>> application, and see if we could achieve something in the short term that 
>> would work for you. Personally I use Meshlab when I do solid modelling in 
>> Julia which slows down my iteration time, and it would be nice to have a 
>> mesh viewer in the workflow.
>>
>> Best,
>> Steve
>> On Nov 9, 2015 9:55 AM, "Ashley Kleinhans" <kleinhan...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I am new at this - but have decided that Julia is my language of choice. 
>>> So I begin silly question stage: 
>>>
>>> Could someone talk me through how to access and display an .obj file? 
>>>
>>> I have gotten so far:
>>>
>>> using Meshes
>>> using PyPlot
>>> using FileIO
>>> using MeshIO
>>>
>>> obj = load(filename)
>>> vts = obj.vertices 
>>>
>>>
>>> Which gives me: 
>>>
>>> 502-element Array{FixedSizeArrays.Point{3,Float32},1}:
>>>
>>>
>>>
>>> One example point being: 
>>>
>>> Point(0.00117,-0.02631,0.03907)    
>>>
>>>                                                                             
>>>    
>>>
>>>   
>>>
>>> How do I access the verticies to use them with plot? 
>>>
>>> -A
>>>
>>>
>>>

Reply via email to