Search found 1351 matches

by riviere
Fri May 14, 2004 1:14 am
Forum: BrainVISA
Topic: Color and transparency for meshes
Replies: 13
Views: 10056

Hi Manik, As the work was almost done in the previous messages, I put the code in a new command (AimsMeshes2Graph as I said just before) that will be available in the next version of Aims. I know that you won't wait, so here is the source (this one has been tested and works): /* * Copyright (C) 2004...
by riviere
Fri May 14, 2004 12:28 am
Forum: BrainVISA
Topic: Color and transparency for meshes
Replies: 13
Views: 10056

Hi Manik, You're right, my program was wrong. The rc_ptr<> is a reference counting pointer. It's normal you get a segfault in your example program, because there you build a rc_ptr on an object locally allocated. rc_ptr takes ownership of the object (here a mesh) and destroys it when no rc_ptr point...
by riviere
Wed May 12, 2004 11:26 pm
Forum: BrainVISA
Topic: Color and transparency for meshes
Replies: 13
Views: 10056

Sorry, this turns out to be a very technical developers topic... The hierarchy format is rather simple, you will understand it by looking at one example. The graph format is also simple in appearance, but as it can hold many different things under different shapes, it has become quite complex. The t...
by riviere
Tue May 11, 2004 4:57 pm
Forum: BrainVISA
Topic: Color and transparency for meshes
Replies: 13
Views: 10056

Hi, If you want to make a structured set of objects with consistent colors on many subjects, the graph solution is certainly the best, althrough building the graph itself may cause you some headaches. For episodic work or testing purpose, the idea of providing a default color in the .minf header is ...
by riviere
Thu May 06, 2004 11:24 am
Forum: BrainVISA
Topic: Can BrainVISA use matlab for Windows installation ?
Replies: 1
Views: 8708

Look at the log, you should see invalidated processes and the reason why they are invalidated (in "Read processes"). I must admit that I didn't test the brainvisa-matlab connection when I did the port to windows (I don't have matlab for windows on my machine) so that doesn't really surpris...
by riviere
Sun May 02, 2004 12:21 am
Forum: BrainVISA
Topic: Texture exportation
Replies: 17
Views: 16590

Hi Nicolas, I've worked in Anatomist, and I have made a new texturing mode which uses color interpolation in RGB space (rather than the normal palette space): http://brainvisa.info/forum_images/texturing_palette_interpol.png http://brainvisa.info/forum_images/texturing_rgb_interpol.png left: palette...
by riviere
Wed Apr 28, 2004 3:32 pm
Forum: BrainVISA
Topic: how representing a medial axis transformation?
Replies: 3
Views: 9968

OK I think I understand now, you want to make a 3D representation of the axis itself. We don't handle meshes with mixed polygons (anyway, OpenGL does not either), you have to chose at the beginning: triangles, squares... Polygons with 2 points are segments: so do you want to only display a line ? Th...
by riviere
Wed Apr 28, 2004 11:25 am
Forum: BrainVISA
Topic: how representing a medial axis transformation?
Replies: 3
Views: 9968

Hi Tristan,
I'm sorry I don't understand your question... What do you want to do ? Apply a coordinates transformation to a mesh file ? Store this transformation matrix ?
And what is this file.mesh ?

Denis
by riviere
Tue Apr 27, 2004 3:28 pm
Forum: BrainVISA
Topic: How can I hide Anatomist main window
Replies: 2
Views: 9168

Hi Manik, The main window is called "control window" and was originally designed to be optional. But as we never tried not to use it, I don't know if it would actually run without it. Anyway there is always the solution to hide it, which is just what you're trying to do. There is a pointer...
by riviere
Tue Apr 20, 2004 9:10 pm
Forum: BrainVISA
Topic: how "AimsMesh" can generate files.tri?
Replies: 5
Views: 12056

Errors in AimsMesh help and .tri output have been corrected now. It will work better in the next update (however I think you don't need .tri format anyway!)

Denis
by riviere
Tue Apr 20, 2004 4:14 pm
Forum: BrainVISA
Topic: how "AimsMesh" can generate files.tri?
Replies: 5
Views: 12056

Oh yes you're right, AimsMesh is a low-level command that generates multiple mesh files (one for each interface of the objects to mesh) and generates file names with numbers without bothering about the extension. This should be fixed anyway. Well, right now you have three options: - use AimsMeshBrai...
by riviere
Tue Apr 20, 2004 12:54 pm
Forum: BrainVISA
Topic: how "AimsMesh" can generate files.tri?
Replies: 5
Views: 12056

Hi Tristan, Well, I think the doc of AimsMesh is outdated... I'll fix it. The --tri option certainly doesn't exist anymore (I haven't checked yet) because it's not needed anymore, you just have to specify .tri extension (rather than .mesh) to the output file argument: AimsMesh -i toto.ima -o toto.tr...
by riviere
Tue Apr 20, 2004 10:27 am
Forum: BrainVISA
Topic: AimsMeshGenerate : multiple meshes
Replies: 2
Views: 9061

Yes it is possible, but not directly:
- create each individual mesh file with AimsMeshGenerate
- concatenate them using AimsZCat:

Code: Select all

AimsZCat -o toto.mesh *.mesh
Denis
by riviere
Tue Apr 06, 2004 5:13 pm
Forum: BrainVISA
Topic: Texture exportation
Replies: 17
Views: 16590

Hi Nicolas, I fixed your first problem: unnormalized textures can now be exported frol 3D fusions. But of course it's done in the development branch of anatomist, which will not be avialable for a little while... But now you know one of your problems will have a solution one day... I haven't done an...
by riviere
Fri Apr 02, 2004 11:21 am
Forum: BrainVISA
Topic: Anatomist Crash !
Replies: 5
Views: 9107

Well, it seems to crash in qt library (not even in OpenGL). I don't think anatomist is responsible from this crash: the bug is in initilaization functions used by qt to setup X server parameters to use OpenGL in (Visual, colormaps...) (the stack track is quite clear). We're doing some "bidouill...