Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: MantaCompiling onwindows


Chronological Thread 
  • From: James Bigler < >
  • To:
  • Subject: [Manta] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: MantaCompiling onwindows
  • Date: Tue, 31 Aug 2010 10:58:45 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; b=t2QJmXPDyopHlPksz2nuATkJfsFzhbArfwrCBbz7atTVwbwUBeQmHJt7pltxkDTVni hfzh5LADKD71kbmZ8KhXrWqBUlJ+tRTX31PjPqAzcEy1YURBMqYaJF1QV+cK0kJaE5/q ZxTsUtEEjL7pAaUuQtxnA+eNO2LQMbHTFBbEI=

If my memory serves me right, you should be able to build the python bindings on Windows and then use the wxPython GUI.

Have you tried this yet?

James

On Tue, Aug 31, 2010 at 8:08 AM, Carson Brownlee < "> > wrote:
Since Manta used to run on windows there should be windows specific display code around but I can't find any.  Perhaps someone on the list knows where that went?  If you're up for it though that is exactly what you want to do, just follow the code in OpenGLDisplay class and replace the X calls with windows calls to create an opengl context, window, and swap buffers and hopefully it will work fine.
Carson


On Aug 31, 2010, at 2:18 AM, fltian wrote:

hi,
 
Should I create a win32OpenGLDisplay class that inherit from the ImageDisplay class, and use win32 API in thewin32OpenGLDisplay class? 
 
Tian 
 
 
2010-08-31

fltian

发件人: Carson Brownlee
发送时间: 2010-08-27  21:57:45
收件人: manta
抄送:
主题: [Manta] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: MantaCompiling onwindows
since imagedisplay is null there is none, you could try imagedisplay file but then I think you need to build in teem support.  It appears that the windows version is working just not the opengl display which is using x11.  what you can try is explicitly creating a pureopengldisplay yourself in Engine/Factory/RegisterKnownComponents.cc replacing the regular opengl display.  The code for that one is in Engine/Display.
Carson


On Aug 27, 2010, at 6:09 AM, fltian wrote:

hi,
 
Today I tried manta -bench 1 0 -imagetype rgb8 -imagedisplay null -ui null, and I got:
 
Benchmark completed in 1.469 seconds (1 frames, 0.680735 frames per second)
 
Where is the result image?
 
Tian
 
2010-08-27

fltian

发件人: Solomon Boulos
发送时间: 2010-08-26  22:27:34
抄送: manta
主题: [Manta] Re: Re: Re: Re: Re: Re: Re: Re: Re: Manta Compiling onwindows
I think Bigler botched the arguments to -bench. Swap the 0 (num frames to render) and 1 (num warmup frames). So -bench 1 0.

On Aug 26, 2010, at 2:03, "fltian" < " style="color: blue; text-decoration: underline;" target="_blank"> > wrote:

hi,
 
I have tried the command line :manta -bench 0 1 -imagetype rgb8 -imagedisplay null -ui null, and what I got is:
 
Benchmark completed in 0 seconds (0 frames, -1.#IND frames per second)
 
What does this mean?
 
Tian
 
 
2010-08-26

fltian

发件人: James Bigler
发送时间: 2010-08-25  23:25:49
收件人: manta
抄送:
主题: [Manta] Re: Re: Re: Re: Re: Re: Re: Manta Compiling on windows
Try not opening a display or ui:

 bin/manta -bench 0 1 -imagetype rgb8 -imagedisplay null -ui null

If you try to use -imagedisplay file it requires the teem (http://teem.sourceforge.net) library for writing images.

James

2010/8/25 fltian < " style="color: blue; text-decoration: underline;" target="_blank"> " style="color: blue; text-decoration: underline;" target="_blank"> >
hi,
 
Finally I got a ICC, and I have compiled the manta source on windows. But when I ran the manta.exe in the command line, I got a exception:
 
manta.cc (top level): Caught exception: Image display not found Component spec:opengl
 
Is there any one could help me ? Thanks!
 
Tian.
 
2010-08-25

fltian

发件人: James Bigler
发送时间: 2010-08-10  02:12:28
收件人: manta
抄送:
主题: [Manta] Re: Re: Re: Re: Re: Manta Compiling on windows
I don't believe there are any public documents with that information.

I would suggest giving it a whirl and posting when you have trouble.

James

2010/8/9 tian fenglin < " style="color: blue; text-decoration: underline;" target="_blank"> " style="color: blue; text-decoration: underline;" target="_blank"> >

 Is there any tutorial for building the wxManta on windows with ICC?


 

Tian


James Bigler 在 Mon, 9 Aug 2010 10:12:08 写道: 

When we first did the windows port the only compiler to correctly compile the SSE intrinsics was the Intel compiler.  I don't know about VS 2008 or 2010.

James

2010/8/8 tian fenglin < " style="color: blue; text-decoration: underline;" target="_blank"> " style="color: blue; text-decoration: underline;" target="_blank"> >
Dear Carson,

Would you give the email address of Raymond Cohen? I googled the name,but I am not sure which is the correct one. Another question, I must use
Intel complier to complie Manta, is it? Thank you very much.

Tian



Carson < " style="color: blue; text-decoration: underline;" target="_blank"> " style="color: blue; text-decoration: underline;" target="_blank"> > 在 Thu, 05 Aug 2010 23:13:10 写道:
>unfortunately few of us use windows.  You might ping Raymond Cohen who
>was recently running it in VS as well.  If drand48 isn't standardized we
>should make a wrapper function for it.  wxManta can be built by enabling
>it as a cmake option SWIG .
>
>mata.exe should run standalone and produce an image of a sphere on a
>tiled floor.
>
>On Thu, 2010-08-05 at 22:59 -0600, 田丰林 wrote:
>> hi,
>>
>> I have checked out the manta, now I am trying to compile it under visual studio
>> 2008. I use the CMake 2.8 to generate the .sln file for VS2008. I have solved
>> the non-constant array problem according to the email in the mailing lists, and
>> I replace drand48() by (double(rand()) / RAND_MAX) for there is
>> no drand48()  API in VS2008. Now I get the manta.exe, atomic_counter.exe and
>> some other libs in bin\Debug directory. I don't know how to run a simple
>> test or demo with these exe files, I have tried the commandline instructions in
>> the manta\commandlines file, but no scene was displayed.  Please let me know if
>> you have any suggestions.
>>
>> ps: Does it have to use the Intel cpp compiler now? And how build and run
>> wxManta on windows? Is there a tutorial for this?
>>
>> Cheers,
>> Tian
>
>
>
>

















Archive powered by MHonArc 2.6.16.

Top of page