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.CarsonOn 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?Tian2010-08-31fltian发件人: Carson Brownlee发送时间: 2010-08-27 21:57:45收件人: manta抄送:主题: [Manta] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: MantaCompiling onwindowssince 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.CarsonOn 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?Tian2010-08-27fltian
发件人: Solomon Boulos发送时间: 2010-08-26 22:27:34抄送: manta主题: [Manta] Re: Re: Re: Re: Re: Re: Re: Re: Re: Manta Compiling onwindowsI 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?Tian2010-08-26
fltian发件人: James Bigler发送时间: 2010-08-25 23:25:49收件人: manta抄送:主题: [Manta] Re: Re: Re: Re: Re: Re: Re: Manta Compiling on windowsTry 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.
James2010/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:openglIs 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 windowsI don't believe there are any public documents with that information.
I would suggest giving it a whirl and posting when you have trouble.
James2010/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.
James2010/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.