Re: [Haskell-cafe] SOC idea ticket: Rendering Engine

2009-03-24 Thread Roman Cheplyaka
I tried it and it goes out of memory.
The log attached.

-- 
Roman I. Cheplyaka :: http://ro-che.info/
Don't let school get in the way of your education. - Mark Twain
Script started on Tue Mar 24 16:50:41 2009
[materials,.,..,.svn,car,packs,models]
[texturemapping.vert,toonf2.frag,.,..,.svn,Example_CelShading.vert,texturemapping.frag,Example_CelShading.frag,toonf2.vert,ambient.vert,ambient.frag,diffuse.vert,diffuse.frag]
[.,Robot.material,..,.svn,RZR-002.material,Ogre.material,Scene.material,todo,jaiqua.material,ogrehead.material]
load: Robot.material
load: RZR-002.material
load: Ogre.material
load: Scene.material
load: jaiqua.material
load: ogrehead.material
[.,blue_jaiqua.jpg,..,cel_shading_edge.png,.svn,cel_shading_specular.png,r2skin.jpg,GreenSkin.jpg,WeirdEye.png,cel_shading_diffuse.png,spheremap.png,dirt01.jpg,RZR-002.png]
[.,..,.svn,robot.skeleton.xml,athene.mesh.xml,ninja.mesh.xml,RZR-002.mesh.xml,Cube.mesh.xml,robot.mesh.xml,facial.mesh.xml,jaiqua.mesh.xml,ogrehead.mesh.xml,Suzanne.mesh.xml]
[chasis.jpg,.,scooby_body.material,..,.svn,chasis_a.jpg,ventanas.jpg,scooby_body.mesh.xml]
load: scooby_body.material
creating entity: OgreHead from mesh: ogrehead.mesh.xml
parsing XML file
[Ogre/Tusks,Ogre/Earring,Ogre/Skin,Ogre/Eyes]
compiling material: Ogre/Eyes
WeirdEye.png loaded
resolution = 256 x 256, 3 bytes per pixel
compiling material: Ogre/Skin
GreenSkin.jpg loaded
resolution = 256 x 256, 3 bytes per pixel
compiling material: Ogre/Earring
spheremap.png loaded
resolution = 256 x 256, 3 bytes per pixel
compiling material: Ogre/Tusks
dirt01.jpg loaded
resolution = 96 x 96, 3 bytes per pixel
 done
creating entity: Robot from mesh: robot2.mesh.xml
parsing XML file
[Examples/Robot]
compiling material: Examples/Robot
r2skin.jpg loaded
resolution = 512 x 512, 3 bytes per pixel
Compiling program: (Just Examples/AmbientShadingVP,Just 
Examples/AmbientShadingFP)
Mesa 7.0.3 implementation error: User called no-op dispatch function (an 
unsupported extension function?)
Please report at bugzilla.freedesktop.org
Mesa 7.0.3 implementation error: User called no-op dispatch function (an 
unsupported extension function?)
Please report at bugzilla.freedesktop.org
Mesa 7.0.3 implementation error: User called no-op dispatch function (an 
unsupported extension function?)
Please report at bugzilla.freedesktop.org
Mesa 7.0.3 implementation error: User called no-op dispatch function (an 
unsupported extension function?)
Please report at bugzilla.freedesktop.org
Mesa 7.0.3 implementation error: User called no-op dispatch function (an 
unsupported extension function?)
Please report at bugzilla.freedesktop.org
example1: out of memory (requested 2944401408 bytes)

Script done on Tue Mar 24 16:50:45 2009
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] SOC idea ticket: Rendering Engine

2009-03-24 Thread Roman Cheplyaka
Oh, I managed to enjoy ogre by disabling other entities.

-- 
Roman I. Cheplyaka :: http://ro-che.info/
Don't let school get in the way of your education. - Mark Twain
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] SOC idea ticket: Rendering Engine

2009-03-24 Thread Csaba Hruska
Does your video card support shaders?
If it's an old card with fixed function opengl, then edit
/media/materials/scripts/Robot.material file.
Disable shaders:
{
//source ambient.vert
//source diffuse.vert
source toonf2.vert
}

fragment_program Examples/AmbientShadingFP  glsl
{
//source ambient.frag
//source diffuse.frag
source toonf2.frag
}

material Examples/Robot
{

// Software blending technique
technique
{
pass
{

   // vertex_program_ref Examples/AmbientShadingVP
   // {
   // // map shininess from custom renderable
param 1
   // //param_named_auto shininess custom 1
   // }

//fragment_program_ref Examples/AmbientShadingFP
//{
//// map shininess from custom renderable
param 1
////param_named_auto shininess custom 1
   // }

texture_unit
{
texture r2skin.jpg
}
}
}
}



2009/3/24 Roman Cheplyaka r...@ro-che.info

 Oh, I managed to enjoy ogre by disabling other entities.

 --
 Roman I. Cheplyaka :: http://ro-che.info/
 Don't let school get in the way of your education. - Mark Twain
 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] SOC idea ticket: Rendering Engine

2009-03-24 Thread Roman Cheplyaka
* Csaba Hruska csaba.hru...@gmail.com [2009-03-24 16:54:51+0100]
 Does your video card support shaders?
 If it's an old card with fixed function opengl, then edit
 /media/materials/scripts/Robot.material file.
 Disable shaders:

Yeah, that helped. (It's video card embedded in my laptop.)

-- 
Roman I. Cheplyaka :: http://ro-che.info/
Don't let school get in the way of your education. - Mark Twain
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] SOC idea ticket: Rendering Engine

2009-03-23 Thread Roman Cheplyaka
* Csaba Hruska csaba.hru...@gmail.com [2009-03-23 19:24:19+0100]
 Hi!
 
 I've created a ticket for this idea:
 http://hackage.haskell.org/trac/summer-of-code/ticket/1572
 Please write your opinion.
 
 I also put the source code here:
 http://code.google.com/p/lambdacube/
 
 svn checkout *http*://lambdacube.googlecode.com/svn/trunk/lambdacube-read-only

Hi Csaba,

this looks very promising!

Correct command to checkout:
  
  svn checkout http://lambdacube.googlecode.com/svn/trunk/ lambdacube

-- 
Roman I. Cheplyaka :: http://ro-che.info/
Don't let school get in the way of your education. - Mark Twain
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe