[Suggestion] Simple 3D objects

Discussion and feedback on Construct 2

Post » Mon Dec 16, 2013 5:51 pm

[quote]NOT user friendly[/quote]
No arguments there. It could stand for better organization, and clean up of the events. It's more or less a proof of concept that isn't complete. Not to mention I'm ironing out ideas on a balance between usefulness and ease of use as I go.

[quote]this is totaly unusable at this point![/quote]
For the iphone. It's running quite fast on the desktop for me. There are a few things I could do to speed things up such as making the face objects invisible, but the main reason for the slowdown is safari doesn't have webgl so canvas2d is used.

Here's the latest wip. Textures now mach the textures of the objects on layer 1, although to do it I copied the textures in two places which isn't very efficient if you want to change them later.
https://dl.dropboxusercontent.com/u/5426011/examples21/paster_3d_3.capx
B
92
S
32
G
106
Posts: 5,273
Reputation: 69,457

Post » Mon Dec 16, 2013 6:38 pm

Another update. WOW. and your now matching textures based on objects. Oh my oh my. This is shaping up.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,018

Post » Mon Dec 16, 2013 7:23 pm

@R0J0hound

Nice update

Too bad that is unusable on iPhone due to lack of WebGL in browser (1-3 fps on iPhone 4), but runs quite well on PC. I am really curious how would it run on Android (browser and CocoonJS) ... my LG Optimus 2X is currently at service (sudden death).
B
49
S
15
G
6
Posts: 534
Reputation: 7,195

Post » Mon Dec 16, 2013 8:10 pm

I would expect a Spriter Sackboy at some point now.
Image ImageImage
B
169
S
50
G
169
Posts: 8,286
Reputation: 108,216

Post » Tue Dec 17, 2013 8:50 am

Thanks for reply.
Yes, on desktop FPS are solid 60.
I'll test your sample with coocon launcher for iOS to avoid safari and will post back results.
B
26
S
11
G
2
Posts: 669
Reputation: 5,038

Post » Tue Dec 17, 2013 12:00 pm

@R0J0hound

Bad news... in CooconJS Launcher shows exactly 6 FPS


Have you seen this?
http://www.scirra.com/forum/3d-objects-without-webgl_topic69562.html
Maybe it can be helpfull?irina2013-12-17 12:28:19
B
26
S
11
G
2
Posts: 669
Reputation: 5,038

Post » Tue Dec 17, 2013 7:22 pm

[QUOTE=irina]@R0J0hound

Bad news... in CooconJS Launcher shows exactly 6 FPS

Have you seen this?
http://www.scirra.com/forum/3d-objects-without-webgl_topic69562.html
Maybe it can be helpfull?[/QUOTE]
That is great, but as Ashley said there: "3D without WebGL is generally too slow to be useful" and he is right... I tested the phoria.js demos on iPhone 4 and I get 1~10 FPS in browser
Of course if phoria.js is implemented in C2 as the Effects are (require WebGL), it could be totally usable

Still, the solution that I presented was to create simple 3D objects using images (no "real" 3D involved) in order to maintain canvas2d compatibility at decent speed.

Also, R0J0hound's solution to use his plugin is great (use only one object instead of many), but is slower on mobile if used to render more objects

I've just purchased Spriter for character animations, but I can also use it to exemplify my 3D implementation
B
49
S
15
G
6
Posts: 534
Reputation: 7,195

Post » Tue Dec 17, 2013 8:30 pm

@newt
That would look cool, I'll have tinker around with Spriter one of these days.

@irina
Yes I've seen it. It's approach is similar to what I'm doing in some ways It's even a bit faster since it's all js, however it would be very time consuming to integrate it into a plugin.

New update: Now boxes match the rotation of the ground sprites on layer 1, also events were cleaned up a bit and an improved perspective transform is now used. Also the rotate function can now rotate around an arbitrary point.
https://dl.dropboxusercontent.com/u/5426011/examples21/paster_3d_5.capx
B
92
S
32
G
106
Posts: 5,273
Reputation: 69,457

Post » Tue Dec 17, 2013 9:46 pm

well, it is once more impressive to see what the C2 Community is capable of :0
Very nice job!
B
23
S
6
G
5
Posts: 132
Reputation: 4,487

Post » Sat May 09, 2015 2:50 am

R0J0hound wrote:@newt
That would look cool, I'll have tinker around with Spriter one of these days.

@irina
Yes I've seen it. It's approach is similar to what I'm doing in some ways It's even a bit faster since it's all js, however it would be very time consuming to integrate it into a plugin.

New update: Now boxes match the rotation of the ground sprites on layer 1, also events were cleaned up a bit and an improved perspective transform is now used. Also the rotate function can now rotate around an arbitrary point.
https://dl.dropboxusercontent.com/u/542 ... _3d_5.capx


Hi, would you consider making a plugin or behaviour out of your 3d object engine, please?
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
89
S
30
G
22
Posts: 1,985
Reputation: 20,099

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: Artpunk, Sockratease, Yahoo [Bot] and 7 guests