Go to advanced search

by tipam
Sat Jul 21, 2018 9:34 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

Tim, I can report that your multi-scene download works on the RPi nicely. I had to globally change the \r\n line ending in Kendal castle mtl file to \n before it would load any textures and I had to rename a couple of the bridge textures to match (fx3_panels and medmon1 I think). Paddy PS it's worr...
by tipam
Sat Jul 21, 2018 8:58 am
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

Gavinmc42 wrote:
Sat Jul 21, 2018 2:40 am
... new demo does not run on Gentoo64.
... sorry about that - things weren't in the right folders and I've updated the README1ST. I've uploaded again :oops:
by tipam
Sat Jul 21, 2018 1:26 am
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

NEW UPDATE!

Demo now includes the following;

- CargoBay scene (updated)
- Cargoship Bridge scene
- Kendal Castle

Download the demo from here (34Mb) and open README1ST file

To run a demo (after following instructions) do the folliowing;

Code: Select all

$ ./ShipDemo -scene CargoBay.scene
Enjoy!
by tipam
Sun Jul 15, 2018 6:30 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

ensan wrote:
Sun Jul 15, 2018 2:33 pm
I feel a bit uncomfortable posting my queries to tipam's thread so I'll start a separate thread - thanks (and apologies) tipam.
No worries Ensan - as long as it was helpful! ;) I'll keep a look out on your threads if I can help.
by tipam
Fri Jul 13, 2018 6:26 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

The idea was to create a tool for educational purposes (teaching kids about 3D coding). As mentioned currently porting to the rPI but given folks have treaded that path before me I'll maybe pick your brains if I may when I encounter issues. The 65K limit on VBOs you mention is useful info for insta...
by tipam
Wed Jul 11, 2018 11:02 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

Oh Well! England did really well and gave us hope - maybe next time? Meanwhile, here's a few pics of the Cargoship bridge to cheer you up! Once baked they will become the new 'scene' that connects up with the cargo bay ... It's the control panels that are taking ages to design. However, I want them ...
by tipam
Sun Jul 08, 2018 9:29 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

So you did not go down to the nearest castle and 3D model it an few hours then just to test a bigger model ;) How much National Trust stuff has been 3D modeled? Some nice laser range finder modules around now. Add them to Zero W with GPS and wander around collecting data. DIY Surveying tools. You'r...
by tipam
Sun Jul 08, 2018 7:09 am
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

Gavinmc42 wrote:
Sun Jul 08, 2018 2:21 am
You just happen to have a Castle obj?
How long it it take you to do?
... I've got more where that came from due to an old self-employed job!

Typically, the castle did take a couple of weeks or so ;)
by tipam
Sat Jul 07, 2018 11:28 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

Kendal Castle Just tried a BIG model I did several years ago when I was in Kendal ... a reconstruction of Kendal Castle! (loads of rooms to explore!!) I had a few issues converting it and found a bug in my OBJ loader (fixed) ... model weighs in at 75K triangles (1.8M floats of info) so I expected i...
by tipam
Sat Jul 07, 2018 12:12 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

... it just goes to show how little power is required to produce some amazing stuff at such low cost!
by tipam
Sat Jul 07, 2018 11:27 am
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

Tim I can report that the updated version runs fine (and changing the options works as expected). As an experiment I tried loading your model into rust_pi3d to get a direct comparison. I just used the uv_flat shader as is which might be a little more complicated but not much. Although it runs OK it...
by tipam
Sat Jul 07, 2018 12:27 am
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

Updated the Cargo Spaceship demo to include an options.txt file so the following parameters can be changed; screen: width, height, perspective value fullscreen: true or false fly: true or false startpos: x,y,z nearzfarz: nearZ, farZ Also added Escape key to exit. Same link as above. Enjoy! Ps. pleas...
by tipam
Thu Jul 05, 2018 10:14 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

Tim, it runs great . I get 45 to 50 fps on this 3+ but the CPU is only clocking 7 to 12%, On a 2B it's nearly as fast at 43 fps and occasionally gets up to 18% CPU. I had previously attempted to get SDL hardware accelerated following instructions based on choccyhobnob but specified 2.0.5 and then w...
by tipam
Thu Jul 05, 2018 7:22 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

DOWNLOAD LINK FOR DEMO OK, not sure if this is going to work BUT here's a downloadable 'executable' of what I have so far :mrgreen: (I'm not quite ready to submit all the code yet - still needs tidying up quite a bit!!) DOWNLOAD HERE http://www.skillmanmedia.com/images/CargoSpaceshipDemoRPi.zip Aft...
by tipam
Thu Jul 05, 2018 6:35 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

(Yet) another update! OK - I stripped the fragment shader down by removing the light calcs and the 'if' statement (Thanks Paddy!) ... I also implemented atmospheric fog calculated in the vertex shader and passed the resultant fog colour to the frag shader. As a result the frag shader is now just ONE...
by tipam
Wed Jul 04, 2018 11:35 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

That's pretty good, doing the collision detection on the mesh. Tricky doing the horizontal component and coping with things like railings or tables. The shader is quite simple and will be fast but it gives a very good effect - it's a really sensible idea to use baked shadows. I found that, on the r...
by tipam
Wed Jul 04, 2018 10:08 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

Tim, that's really great. Not sure it's relevant but it did occur to me that one could use the full float range to pack two UV texture coordinates into each value i.e. split into frac() and floor() in GLSL. We used that in pi3d to get x, y, z, size, rotation, r, g, b, a, u, v, into the 8 float valu...
by tipam
Wed Jul 04, 2018 9:09 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

Baked texture update ... Finally UV unwrapped and created the baked texture (and light maps) for the Cargo bay ... here are the improved results including a quick video of how it runs ... https://youtu.be/0tkeIJXGCxU http://www.skillmanmedia.com/images/bake1_1920x1080_scrot.png http://www.skillmanme...
by tipam
Sat Jun 30, 2018 7:29 am
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

the best option is probably to have tiled textures with baked shadows then add phone style lighting with detailed normal map. However getting the fragment shader efficient, especially through the extra emulation layer, might take quite a bit of tweaking. ... I'll probably go as far as tiled texture...
by tipam
Fri Jun 29, 2018 6:38 am
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

You might now be getting a bit picky ;) I had to compare those with the older pics to spot any difference. ... as I said its a very rough baking! ... none of the detail comes out for the flooring and the walls are a bit blurry - plus the light is way over saturated at some points. When it's finishe...
by tipam
Thu Jun 28, 2018 11:11 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

OK - I managed to get 3DSMax output a couple of baked textures (very rough) and here's the results ... (BTW, I had to kill the lighting in the shader so it sped things up quite a bit :P ) http://www.skillmanmedia.com/images/bt1_1920x1080_scrot.png http://www.skillmanmedia.com/images/bt2_1920x1080_sc...
by tipam
Wed Jun 27, 2018 9:14 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

Tim, this is looking really impressive and will be stunning with baked shadows. Are you searching all the triangles in the collision object for intersections or have you used some kind of indexing? In my rust version of pi3d experiment I started out iterating through the whole elevation map but, as...
by tipam
Tue Jun 26, 2018 6:46 am
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

It keeps getting better. Don't smooth out the stairs too much it adds realism. People have compliance in their limbs and head, a robot would see those bumps. Just a tiny bit more and you have a first person shooter engine :D Trying to remember but it looks like early to mid Quake graphics to me, be...
by tipam
Mon Jun 25, 2018 11:08 pm
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

Here's a video link to see the progress on collision detection, walking about the cargo bay ... https://youtu.be/5mDFgthnW_k Credit to lighthouse3d.com that provides excellent example code for working out the collisions using ray-triangle intersections ... http://www.lighthouse3d.com/tutorials/maths...
by tipam
Mon Jun 25, 2018 6:49 am
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 100
Views: 4050

Re: Star Citizen on the Raspberry Pi?!

Think data generated Terrain maps ;) ... I'm really hoping to add a terrain editing tool similar to Unity's ... I've done it before on the PC and have all the shape tools so it would be good to have such tools purpose built for RPi Collision detection is a big step toward an engine :D Even serious ...

Go to advanced search