Re: [hpx-users] updated project timeline

2016-06-14 Thread Andreas Schäfer
Dear Kuo Lu,

Thanks for the video call we had on Saturday. I noticed that you
haven't yet pushed commits to the repository you created[1].  Are
there any questions I can answer for you WRT the parser you'll be
writing first?

Thanks!
-Andreas

[1] https://github.com/kuolu/LibGeoDecompCommandlineTool


On 10:29 Thu 09 Jun , Kuo Lu wrote:
> Hi Mr. Schafer,
> 
> Here is the update: since last time I decided to parse .obj files, I studied 
> this tutorial 
> 
>  to understand it more (I had some compiling errors as I was following the 
> tutorial); I then was trying to build a command-line tool that can parse .obj 
> files in shell script, because I had a conversation with my professor before 
> about how to build command-line tools and he said “ I never built one, so I 
> don’t know. Maybe shell script?” So I spent some time studying shell. But 
> then I realized that integrating shell and c++ is quite hard and it’s not the 
> project I was picturing, so I went back to study your examples again. I am 
> picturing to build a environment like matlab or octave, and I just have a 
> hard time figuring out what language should I use for command-line tools and 
> how to integrate it with LibGeoDecomp.
> 
> I’m now thinking about either build directly in c++, or use python, 
> apparently the best language for command-line tools. I’ll do more research 
> and we can talk about it further in our video call.
> 
> Thank you
> 
> Kuo
> 
> 
> 
> > On Jun 9, 2016, at 6:51 AM, Andreas Schäfer  wrote:
> > 
> > Dear Kuo Lu,
> > 
> > I'm sure you're busy with writing code and figuring out how to best
> > parse Blender files. Could you still give me a quick update on what
> > you're currently working on? Is there anything I can help with?
> > 
> > Also, did you create a GitHub account and for fork LibGeoDecomp? I
> > consider this part of the infrastructure and would like to ask you to
> > get this done ASAP so we have a method to integrate your code
> > eventually into the trunk.
> > 
> > Thanks!
> > -Andreas
> > 
> > 
> > On 22:54 Wed 01 Jun , Kuo Lu wrote:
> >> Hi Mr. Schäfer,
> >> 
> >> Thank you for your patience. I know that I have a slow start and I 
> >> apologize for that. I have been taking a summer course and it takes almost 
> >> two thirds of my day everyday. Fortunately my summer class ends by the end 
> >> of this week so I will be able to catch up my work starting this weekend. 
> >> And also I adjusted my project timeline 
> >> 
> >>  a little bit based on my current situation. 
> >> 
> >> Thank you and best regards,
> >> 
> >> Kuo
> > 
> > -- 
> > ==
> > Andreas Schäfer
> > HPC and Supercomputing
> > Institute for Multiscale Simulation
> > Friedrich-Alexander-Universität Erlangen-Nürnberg, Germany
> > +49 9131 85-20866
> > PGP/GPG key via keyserver
> > http://www.libgeodecomp.org
> > ==
> > 
> > (\___/)
> > (+'.'+)
> > (")_(")
> > This is Bunny. Copy and paste Bunny into your
> > signature to help him gain world domination!
> 

-- 
==
Andreas Schäfer
HPC and Supercomputing
Institute for Multiscale Simulation
Friedrich-Alexander-Universität Erlangen-Nürnberg, Germany
+49 9131 85-20866
PGP/GPG key via keyserver
http://www.libgeodecomp.org
==

(\___/)
(+'.'+)
(")_(")
This is Bunny. Copy and paste Bunny into your
signature to help him gain world domination!


signature.asc
Description: Digital signature
___
hpx-users mailing list
hpx-users@stellar.cct.lsu.edu
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users


Re: [hpx-users] updated project timeline

2016-06-09 Thread Lars Viklund
On 2016-06-09 16:29, Kuo Lu wrote:
> Hi Mr. Schafer,
>
> Here is the update: since last time I decided to parse .obj files, I
> studied this tutorial
> 
>  to

I'd like to make some comments regarding the information in that 
tutorial about the OBJ format and the things it's omitting by very 
carefully setting the export flags.

'f' directives describe a polygonal face which may have more than 3 
vertices. If it does, they'll be provided as more of the 'v/t/n' tuples 
and it's up to you to figure out how to handle N-gons or if you're going 
to triangulate them somehow.

Also on the 'f' directive, the tuples are not always on the form 
'v/t/n', valid formats are also 'v//n', 'v/t' and 'v'; omitting some of 
the components.

The indices are not always positive integers either. A negative index 
means offsetting from the last element of that kind read thus far. If 
you've got N positions read thus far, 1 would refer to the first one, 
while -1 would refer to the last one thus far.

The final pass done in that tutorial to generate a singly-indexed stream 
of vertices may not be necessary if your code can handle the kind of 
multiple indices that OBJ has, or if you only care about the positions 
and can ignore the texture coordinates and normals.

If you run into trouble reading files you've exported, you may need to 
restrict the options used to export to generate files you can handle, or 
handle the files in a more complete manner. These are the common traps 
I've run into implementing OBJ parsers in the past, I hope some of it is 
of help.

A problem you would have to face is that OBJ can at best represent 
geometry objects made up of one or more polygons. It carries no 
information about what kind of Blender object the geometry is sourced 
from like boxes / spheres / cylinders / whatever. If your task depends 
on approximating the geometry with fundamental forms, you may need to 
figure out how to deduce that from the polysoup you have.

// Lars V. -- amateur 3D graphics dabbler
___
hpx-users mailing list
hpx-users@stellar.cct.lsu.edu
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users


Re: [hpx-users] updated project timeline

2016-06-09 Thread Kuo Lu
Hi Mr. Schafer,

Here is the update: since last time I decided to parse .obj files, I studied 
this tutorial 
 
to understand it more (I had some compiling errors as I was following the 
tutorial); I then was trying to build a command-line tool that can parse .obj 
files in shell script, because I had a conversation with my professor before 
about how to build command-line tools and he said “ I never built one, so I 
don’t know. Maybe shell script?” So I spent some time studying shell. But then 
I realized that integrating shell and c++ is quite hard and it’s not the 
project I was picturing, so I went back to study your examples again. I am 
picturing to build a environment like matlab or octave, and I just have a hard 
time figuring out what language should I use for command-line tools and how to 
integrate it with LibGeoDecomp.

I’m now thinking about either build directly in c++, or use python, apparently 
the best language for command-line tools. I’ll do more research and we can talk 
about it further in our video call.

Thank you

Kuo



> On Jun 9, 2016, at 6:51 AM, Andreas Schäfer  wrote:
> 
> Dear Kuo Lu,
> 
> I'm sure you're busy with writing code and figuring out how to best
> parse Blender files. Could you still give me a quick update on what
> you're currently working on? Is there anything I can help with?
> 
> Also, did you create a GitHub account and for fork LibGeoDecomp? I
> consider this part of the infrastructure and would like to ask you to
> get this done ASAP so we have a method to integrate your code
> eventually into the trunk.
> 
> Thanks!
> -Andreas
> 
> 
> On 22:54 Wed 01 Jun , Kuo Lu wrote:
>> Hi Mr. Schäfer,
>> 
>> Thank you for your patience. I know that I have a slow start and I apologize 
>> for that. I have been taking a summer course and it takes almost two thirds 
>> of my day everyday. Fortunately my summer class ends by the end of this week 
>> so I will be able to catch up my work starting this weekend. And also I 
>> adjusted my project timeline 
>> 
>>  a little bit based on my current situation. 
>> 
>> Thank you and best regards,
>> 
>> Kuo
> 
> -- 
> ==
> Andreas Schäfer
> HPC and Supercomputing
> Institute for Multiscale Simulation
> Friedrich-Alexander-Universität Erlangen-Nürnberg, Germany
> +49 9131 85-20866
> PGP/GPG key via keyserver
> http://www.libgeodecomp.org
> ==
> 
> (\___/)
> (+'.'+)
> (")_(")
> This is Bunny. Copy and paste Bunny into your
> signature to help him gain world domination!

___
hpx-users mailing list
hpx-users@stellar.cct.lsu.edu
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users


Re: [hpx-users] updated project timeline

2016-06-09 Thread Andreas Schäfer
Dear Kuo Lu,

I'm sure you're busy with writing code and figuring out how to best
parse Blender files. Could you still give me a quick update on what
you're currently working on? Is there anything I can help with?

Also, did you create a GitHub account and for fork LibGeoDecomp? I
consider this part of the infrastructure and would like to ask you to
get this done ASAP so we have a method to integrate your code
eventually into the trunk.

Thanks!
-Andreas


On 22:54 Wed 01 Jun , Kuo Lu wrote:
> Hi Mr. Schäfer,
> 
> Thank you for your patience. I know that I have a slow start and I apologize 
> for that. I have been taking a summer course and it takes almost two thirds 
> of my day everyday. Fortunately my summer class ends by the end of this week 
> so I will be able to catch up my work starting this weekend. And also I 
> adjusted my project timeline 
> 
>  a little bit based on my current situation. 
> 
> Thank you and best regards,
> 
> Kuo

-- 
==
Andreas Schäfer
HPC and Supercomputing
Institute for Multiscale Simulation
Friedrich-Alexander-Universität Erlangen-Nürnberg, Germany
+49 9131 85-20866
PGP/GPG key via keyserver
http://www.libgeodecomp.org
==

(\___/)
(+'.'+)
(")_(")
This is Bunny. Copy and paste Bunny into your
signature to help him gain world domination!


signature.asc
Description: Digital signature
___
hpx-users mailing list
hpx-users@stellar.cct.lsu.edu
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users