Q3D V-2.4 [3D Physics + Skeletal Animation UPDATE]

Post your completed addons to share with the community

Post » Wed Aug 03, 2016 9:45 am

I've imported an obj file and I've add a texture. What is the way to add another texture? For example the character eyes one?

Image

Image
B
7
S
4
Posts: 2
Reputation: 689

Post » Wed Aug 03, 2016 2:03 pm

Message: dalborgo can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
dalborgo wrote:I've imported an obj file and I've add a texture. What is the way to add another texture? For example the character eyes one?


A solution is it combine all texture in just one.

In this tutorial everything is explained: https://www.youtube.com/watch?v=spPX3JZOtRc

...in according whit this:


Texturing should be done at the mesh level, with UV's exported as part of the .obj file. That's the way I did it in the tiny tank demo, and the way it should be done for any game. A single .obj mesh can be comprised of many geometric primitives, all sharing the same texture.

You need to UV unwrap your mesh, then create a texture which contains any graphics you want (all in the same image), then map the individual polygons to the respective areas on the texture map. This can be done in most 3D programs. (I recommend blender, it's free) Alternatively, you can create multi-part objects on the Q3D level (instead of the mesh level), which each have their own materials. This isn't optimal though (and should not be done in any real game): it's highly recommended to bake as much geometry as you can into single meshes, to have minimal separate objects on the Q3D level, to minimize cpu bottlenecking.

B
7
S
4
Posts: 2
Reputation: 689

Post » Sun Aug 07, 2016 7:08 pm

anyone knows how to put a video as texture ?
B
8
S
1
Posts: 6
Reputation: 412

Post » Sun Aug 07, 2016 7:26 pm

Hardmann wrote:anyone knows how to put a video as texture ?


@Hardmann

This is spam as it is not at all relevant to this thread. Please don't do this again.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
136
S
31
G
87
Posts: 5,490
Reputation: 60,266

Post » Sat Aug 13, 2016 11:36 pm

Hardmann wrote:anyone knows how to put a video as texture ?


You could possibly convert the video into still images and animate a Q3D model's texture with it that way, while optionally playing the extracted sound from the video simultaneously. This is to say, of course, that you're willing to put such a heavy load on memory and/or said video is low in frame rate, short in duration or small in resolution. I could see this being used to, perhaps, simulate a TV set - but in that case other work-arounds could be achieved.

The most direct approach could be if you showed the video through the media object (probably in fullscreen on another layer) once the player has interacted with whatever is supposed to show a video. Or, if the video is simple in nature (mostly text or a mainly static news presenter), it might be possible to "fake" it in the form of a model with morph animation (since a pseudo-2d animation in actual 3d space is most likely more memory friendly than a long string of frames) but that's a lot trickier.

If neither of these options sounds particularly inviting (you want a video shown in real-time on a plane in 3d space) you might find more luck in other more robust 3d engines or setting your bar lower.
B
7
S
1
Posts: 21
Reputation: 475

Post » Sun Aug 14, 2016 12:19 am

zenox98 wrote:
Hardmann wrote:anyone knows how to put a video as texture ?


@Hardmann

This is spam as it is not at all relevant to this thread. Please don't do this again.


Seems pretty relevant to me. :ugeek:

WebGL:
- Animated Textures: https://developer.mozilla.org/en-US/doc ... s_in_WebGL
- Three.js Example of Video to Texture: - http://stemkoski.github.io/Three.js/Video.html
- Source: view-source:http://stemkoski.github.io/Three.js/Video.html

Blender:
- Video as Texture: https://www.blender.org/manual/render/b ... video.html

3DS Max:
- Video as Material https://www.youtube.com/watch?v=LKa-D4LgFSk
- Animated Textures Tutorial: https://www.youtube.com/watch?v=lQkzsJnQulY#t=439

How Flash does it:
- http://www.senocular.com/flash/tutorial ... remapping/

I also accidentally found this: http://away3d.com/ "Away3D is an open source, real time 3D engine for the Flash Platform" with editor called Prefab3D.

Never stop looking for answers friend.
B
52
S
26
G
8
Posts: 121
Reputation: 8,526

Post » Mon Aug 15, 2016 8:47 pm

Polygallon
You could possibly convert the video into still images and animate a Q3D model's texture with it that way, while optionally playing the extracted sound from the video simultaneously. This is to say, of course, that you're willing to put such a heavy load on memory and/or said video is low in frame rate, short in duration or small in resolution. I could see this being used to, perhaps, simulate a TV set - but in that case other work-arounds could be achieved.

The most direct approach could be if you showed the video through the media object (probably in fullscreen on another layer) once the player has interacted with whatever is supposed to show a video. Or, if the video is simple in nature (mostly text or a mainly static news presenter), it might be possible to "fake" it in the form of a model with morph animation (since a pseudo-2d animation in actual 3d space is most likely more memory friendly than a long string of frames) but that's a lot trickier.

If neither of these options sounds particularly inviting (you want a video shown in real-time on a plane in 3d space) you might find more luck in other more robust 3d engines or setting your bar lower.


thanks for your comment, but I had thought that the addition of images and sound, it would not be an appropriate solution.
B
8
S
1
Posts: 6
Reputation: 412

Post » Mon Aug 15, 2016 9:05 pm

Message: Hardmann can only post plain text URLS until they have 500 rep. 7 URLS modified. Why?
adcornaglia wrote:
zenox98 wrote:
Hardmann wrote:anyone knows how to put a video as texture ?


@Hardmann

This is spam as it is not at all relevant to this thread. Please don't do this again.


Seems pretty relevant to me. :ugeek:

WebGL:
- Animated Textures: https://developer.mozilla.org/en-US/doc ... s_in_WebGL
- Three.js Example of Video to Texture: - http://stemkoski.github.io/Three.js/Video.html
- Source: view-source:http://stemkoski.github.io/Three.js/Video.html

Blender:
- Video as Texture: https://www.blender.org/manual/render/b ... video.html

3DS Max:
- Video as Material https://www.youtube.com/watch?v=LKa-D4LgFSk
- Animated Textures Tutorial: https://www.youtube.com/watch?v=lQkzsJnQulY#t=439

How Flash does it:
- http://www.senocular.com/flash/tutorial ... remapping/

I also accidentally found this: http://away3d.com/ "Away3D is an open source, real time 3D engine for the Flash Platform" with editor called Prefab3D.

Never stop looking for answers friend.


thanks, but from what I have researched I have not found a way to do this within the construction 2 using the plug quazi 3d , maybe in the next installment of Q3D you can do what is shown in the examples of three
B
8
S
1
Posts: 6
Reputation: 412

Post » Wed Aug 17, 2016 1:16 am

The only other idea I could think of is to use a video as a tiled background. Or, add the library external like here somehow to your project: request-flodjs-mod-xm-music-player_t104503
B
52
S
26
G
8
Posts: 121
Reputation: 8,526

Post » Thu Aug 18, 2016 10:08 pm

do someoen know if we can achive this kind of effect with q3d-v-2-4-3d?
http://ggnome.com/samples/pano2vr_5/synagoge/
B
39
S
16
G
7
Posts: 1,727
Reputation: 9,865

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest