Search:

Type: Posts; User: carlo697

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Custom python nodes, "link" node tree with object?

    Hi, I was testing the custom node script that the text editor have as example. After a while I get realized that the custom node tree uses the nodes globally, I mean that it doesn't care if you have...
  2. Replies
    49
    Views
    1,370

    I like the simple tech demo and simulation game...

    I like the simple tech demo and simulation game idea, and about the movie theme, it would be good but there was already one BGMC about that, and as adrian said, it's difficult.
  3. The original file repeated a node group a lot of...

    The original file repeated a node group a lot of times, that did it to have less perfomance, but in this one I put only one. The bad thing is that it looks different with a high scale. I made one...
  4. Replies
    8
    Views
    336

    Ok, it was a mistake, a reflectivity map isn't a...

    Ok, it was a mistake, a reflectivity map isn't a specular map, and it is not just a black and white texture, it also includes color. More info here. (see the textures screenshot)

    Then, what I...
  5. Replies
    8
    Views
    336

    Do you mean fresnel? HG1 have an example of cube...

    Do you mean fresnel? HG1 have an example of cube maps with fresnel in one of his message in the cube map post.



    From articles of PBR shading I have read, apparently it's the same as specular...
  6. Replies
    8
    Views
    336

    Example: 389220 1: The cube map texture. 2:...

    Example:
    389220

    1: The cube map texture.
    2: The material, in your case you have to put the PBR material there, if you put the cube map texture in the color input of the material node (as your...
  7. Replies
    8
    Views
    336

    Use a material node with the PBR material, and...

    Use a material node with the PBR material, and multiply (or mix) its color output by the cube map output, and the result goes to the output node, or somenthing like that, I think it's bette to use an...
  8. Use paint texture to change the depth texture....

    Use paint texture to change the depth texture. There's some basic tutorials on youtube.
  9. Replies
    8
    Views
    482

    Make the camera of the background scene copy the...

    Make the camera of the background scene copy the orientation of the main scene's camera with a script.
  10. In my post to blueprint I when I say "Not, it...

    In my post to blueprint I when I say "Not, it doesn't" I was meaning that a parallax map is not an normal map. Anyway, I agre with what you say that it's not recommend to use it in everything, just...
  11. OK, I made a example file, you can play with the...

    OK, I made a example file, you can play with the R and G values of the object color to change the scale and bias:
    388492

    You can see a difference:
    388491

    But here too (I had to add more...
  12. The original file have a lot of parallax groups...

    The original file have a lot of parallax groups repeated over and over, like 8 times, it was basicly create a parallax them increaze it's intensity more and more. I delete all of them and leave one....
  13. Replies
    4
    Views
    305

    Have a good time :) My summer is going to be...

    Have a good time :) My summer is going to be boringgggg, but at least we don't have to go to high school. :]



    (<- I can't delete it...this square...)
  14. Not, it doesn't (it's not an normal map). From...

    Not, it doesn't (it's not an normal map). From what I know, The parallax mapping is a technique, that uses a heightmap. When you are modelling your assets, you can bake the heightmap as well as a...
  15. The setup already uses the UV of the mesh as a...

    The setup already uses the UV of the mesh as a common texture would do, so you can unwrap the mesh as you want, even for a atlas. :) (I guess you are referring to that)
  16. [NODES] Small simplification of Parallax mapping made by Binary

    Hi, The original file is here. The credits are for Binary and zelouille.

    When I saw it the first time (the original) I think it was really amazing, but the only problem with it is that It was too...
  17. Replies
    4
    Views
    228

    386334 And I checked by myself: 386335

    386334

    And I checked by myself:
    386335
  18. Replies
    4
    Views
    228

    For a more readable code. I will recommed to use...

    For a more readable code. I will recommed to use a boolean instead of a number in getLinearVelocity. Also, it return a vector, They are accessible by using x, y and z.

    So instead of use:...
  19. Replies
    7
    Views
    660

    Congratulations Smoking! I wait the next BGMC :)

    Congratulations Smoking! I wait the next BGMC :)
  20. 38 FPS at full screen, 66 fps in a small screen....

    38 FPS at full screen, 66 fps in a small screen. 1gb ram, 1,7 ghz of processor and 512mb of video (intel 41 chipset). So it's run well. An advice that maybe can be useful:

    385619
    With that node...
  21. [SOLVED] The node setup uses the object color of the...

    The node setup uses the object color of the material's owner as a vector, which will use only the r and g values (the object color is a rgba), and this vector will be added to the UV cordinates...
  22. [SOLVED] The object color of the plane and of the wheel...

    The object color of the plane and of the wheel are white (r = 1.0, g = 1.0, b = 1.0) (only r and g are used), so the texture is displaced 1.0 in the x and y axis.

    EDIT: 385302
  23. [SOLVED] Well I made an example of what I said: 385242 ...

    Well I made an example of what I said:
    385242

    Start game, and you will see how the texture is moved.

    Screenshot:
    385243

    But now That I think, there's problems when one use normal maps in...
  24. [SOLVED] And what about nodes? You can use the object...

    And what about nodes? You can use the object color as cordinates to be added to the UV. Of this way you can move the UVs and keep the shading.
  25. [SOLVED] Thank you agoose! It works perfectly now, and...

    Thank you agoose! It works perfectly now, and thank you as well youle.
  26. [SOLVED] Hi, the basic node setup is as the one you...

    Hi, the basic node setup is as the one you showed. I think I don't explain well.
    I made this file to show what I trying to do: 384611

    Instead of use the lamp data node to pass the light vector...
  27. [SOLVED] Get light vector like the one returned by Lamp Data Node? [Python]

    Hi, I have made this moon with nodes:

    384499
    In game, the sun lamp will being changin its energy and color (because day and night cycle), that would be a problem for the moon, so I can't leave it...
  28. Replies
    2
    Views
    323

    The best place to know about the license is on...

    The best place to know about the license is on it's own page: CC0 1.0
  29. Replies
    9
    Views
    406

    [SOLVED] You can't edit nodes in-game, the mirror script...

    You can't edit nodes in-game, the mirror script get the texture from one specific channel, for example, the channel 0, so the texture that is in that channel will be the texture that the script write...
  30. Replies
    9
    Views
    406

    [SOLVED] Actually, the normal map isn't distorting the...

    Actually, the normal map isn't distorting the mirror texture in any way. I think you can distort it by using nodes (and get the effect you want). Add the normal map color to the UV vector, and use it...
  31. The materials doesn't work in dynamic texts, use...

    The materials doesn't work in dynamic texts, use object color instead:
    383836
  32. Replies
    5
    Views
    237

    [SOLVED] object.getDistanceTo(object or vector) ...

    object.getDistanceTo(object or vector)

    Example:
    objectA.getDistanceTo(objectB)
  33. Replies
    21
    Views
    1,819

    You forget to pack the textures in rainSplash and...

    You forget to pack the textures in rainSplash and River. They looks very cool, although some of them are very expensive in hardware.
  34. Replies
    2
    Views
    244

    You can animate material's properties (color,...

    You can animate material's properties (color, intensity, specular color, specular intensity, hardness, emit and alpha) in the most recent version, donwload it from the buildbot:...
  35. Replies
    6
    Views
    342

    #Variables strenght = 10 #Get vector based on...

    #Variables
    strenght = 10

    #Get vector based on objectB orientation
    direction = [strenght, 0, 0] #X axis
    vector = objectB.getAxisVect(direction)

    #Aply force to objectA...
  36. Good luck everybody, I'm not going to participate...

    Good luck everybody, I'm not going to participate this time. I wait very good games!
  37. What I do is this, I have come cfg files:...

    What I do is this, I have come cfg files:
    spanish.cfg
    english.cfg

    Every one contain data like this:


    [english]
    menuStart = Start
    menuExit = Exit
  38. Replies
    2
    Views
    215

    Use layers, You set it in the animation logic...

    Use layers, You set it in the animation logic brick or in playAction function.

    You have two animations: A move the arms, and B move the legs.
    So you put A in layer 0, and B in layer 1.

    Just...
  39. That's what I get when the textures where no...

    That's what I get when the textures where no packed. Try to download the google drive one.

    Apart from that, I have a problem, when I edit some node, the shading goes green.
  40. Well, I download the pasteall link again, and It...

    Well, I download the pasteall link again, and It don't have the texture packed yet...and the google drive one said me I don't have access to it.
  41. Looks good, you don't make big changes, what's...

    Looks good, you don't make big changes, what's about make it a group node? And I don't like that you put those Suzannes so high poly, I would be put a sub surf modifier, and let people to change it....
  42. I have been waiting for the api for the...

    I have been waiting for the api for the collisions group/mask from some time, good to see It has been committed!

    And, other two commits from today:
    BGE: New Draw debug shadow box for sun lamp...
  43. Replies
    248
    Views
    22,591

    I think it looks unrealistic (texture), you could...

    I think it looks unrealistic (texture), you could improve it so much more, and is the string high poly? It looks like it is, but That's not a very good, because the rest of the model is low poly.
  44. The bpy doesn't work in runtime, but...

    The bpy doesn't work in runtime, but bpy.data.objects.constraints That give some ideas for a proposal like this:

    -Delete the functions: createConstraint() and removeConstraint() from...
  45. Thread: Multitexture

    by carlo697
    Replies
    10
    Views
    414

    In your example, the GLSL screenshot is not in...

    In your example, the GLSL screenshot is not in runtime, so The 2d filters don't appear.
  46. Replies
    3
    Views
    242

    AFAIK, I think's that not possible with the...

    AFAIK, I think's that not possible with the actual 2d filter system. But I'm not sure.
  47. Replies
    11
    Views
    436

    No, That only happen when you are in blender, in...

    No, That only happen when you are in blender, in runtime when you add one object multiple times, they keep the same name.
  48. Replies
    11
    Views
    436

    Use [ code][/ code] The next time to post...

    Use [ code][/ code] The next time to post scripts, I say you this because you're using quotes.
  49. Replies
    11
    Views
    436

    Use a loop for: from bge import logic...

    Use a loop for:



    from bge import logic
    scene = logic.getCurrentScene()

    for object in scene.objects:
    if object.name = "Cube":
    object.endObject()
  50. Replies
    2
    Views
    253

    [SOLVED] from bge import logic def test(cont): if...

    from bge import logic

    def test(cont):
    if not hasattr(logic, "variable"):
    logic.variable = 1


    The hasattr function checks If the module logic (or bge) (the first argument) doesn't...
  51. Replies
    2
    Views
    244

    Wrong forum, Game Engine Support and Discussion...

    Wrong forum, Game Engine Support and Discussion is for this kind of questions.

    Are you sure that the plane doesn't have the normals inverted? Maybe when you add the plane, it's rotated, so it's...
  52. Replies
    17
    Views
    6,310

    2.79? What's that version? To setup a light rim...

    2.79? What's that version? To setup a light rim In the 2.74, do this:
    372162
  53. Replies
    59
    Views
    6,452

    I think he means the asteroid impacts in the...

    I think he means the asteroid impacts in the model mesh, I think you could use the sculpt editor in the hig poly mesh, later you bake it to a normal.
  54. Replies
    5
    Views
    271

    What's about make it by your own? It's not too...

    What's about make it by your own? It's not too hard. Just see videos about modelling and texturing.
  55. Problem with GLSL shaders on objects that share mesh

    Hi, I have a little problem with shaders I discovered when was playing with an edited version of a martinsh's shader. I simplify It:

    371507

    Those three cubes share the same material, so they...
  56. Replies
    159
    Views
    18,206

    Your game looks good, some suggetions: add one...

    Your game looks good, some suggetions: add one reflection map (it doesn't have to be in realtime) to the cars, and the grass and road textures of the map look kinda weird, increase the tile mapping...
  57. Replies
    10
    Views
    670

    Hi, you can do this: There's a buil-int module...

    Hi, you can do this:

    There's a buil-int module in python module named time. It provides ways to get time and date.

    We are going to use two functions that time provides: time and monotonic....
  58. Replies
    30
    Views
    1,115

    Hey VegetableJuiceF your method is very good,...

    Hey VegetableJuiceF your method is very good, look I made it a node group.
    371141

    File:
    371144

    If someone wants to use it with HG1'S cube map, just put the node group in the line that...
  59. Replies
    598
    Views
    104,352

    I have seen the new projects of Martinsh, but I...

    I have seen the new projects of Martinsh, but I think Mokazon who was in charge on editing the blender source code (I'm not really sure), while Martinsh made the shaders. And Mokazon has had no...
  60. Replies
    598
    Views
    104,352

    Well, The project is abandoned, so I don't think...

    Well, The project is abandoned, so I don't think they will add it.
  61. Replies
    30
    Views
    1,115

    This is what I get: 371104 The original...

    This is what I get:
    371104

    The original material had three outputs, the first show only the cube map, the second show the cube map with the object color, and third showed the shading + the cube...
  62. Replies
    30
    Views
    1,115

    Is this like what you want to achieve? 371098 ...

    Is this like what you want to achieve?
    371098

    The darker zones of the reflections turn into the object color.

    I'm having some problems, For some reason when I press P the sphere color turn to...
  63. Replies
    30
    Views
    1,115

    371096 That's the method you said: (r + g + b)...

    371096

    That's the method you said: (r + g + b) / average

    Let me see if I use it to get working in the reflection.
  64. Replies
    8
    Views
    278

    #Get the euler of the orientation, eulers are...

    #Get the euler of the orientation, eulers are easier to edit than matrices (they are like vectors)
    orientation = object.worldOrientation.to_euler()

    #Set the x and y values to 0.0
    orientation.x =...
  65. Replies
    8
    Views
    278

    You can set directly the object.worldOrientation...

    You can set directly the object.worldOrientation with an euler, it's not necessary turn it back to a matrix.
  66. Replies
    53
    Views
    3,896

    The functions related to the mist were...

    The functions related to the mist were deprecated, they only work while you're using the multitexture mode.

    Recently, some patches by HG1 were commited to the master branch, they fix the problems...
  67. Replies
    59
    Views
    6,452

    I like the game! but That asteroid doen's have a...

    I like the game! but That asteroid doen's have a natural looking.

    What's about use the tutorial you said before?

    https://www.youtube.com/watch?feature=player_embedded&amp;v=FkwXsNQ15dA

    I follow...
  68. You see it...

    You see it? These problems with reflections and refractions without clipping aren't very important when you have a simple scene, but with an scene with many objects, them become more noticeable.
    ...
  69. 70 FPS is poor? I run minecraft at 15-25 fps with...

    70 FPS is poor? I run minecraft at 15-25 fps with all settings on low...
  70. Replies
    4
    Views
    284

    370311 Use it later you set up the particle...

    370311

    Use it later you set up the particle system, it will turn all particles (in this case will be objects) into objects.
  71. I'm not really sure...

    I'm not really sure...
  72. Replies
    30
    Views
    1,115

    Maybe add some light on the edges of the car? I...

    Maybe add some light on the edges of the car? I think it's name is Rim light.

    Example:
    370306

    And with nodes maybe you can get that same effect, but for apply to the reflection texture,...
  73. Hi Adrian! I'm still working at the game, but due...

    Hi Adrian! I'm still working at the game, but due that I don't have so much time to work in it (highschool...), at moment I have not made some big progress, I will post an update later!

    Things...
  74. The script have a little mistake, replace the...

    The script have a little mistake, replace the line: 27 with: baseObject.endObject(), but it's no really necessary delete that object. But I don't think that's the problem, there's another error...
  75. I test the script in a overlay scene, and it...

    I test the script in a overlay scene, and it works. I don't know what is happening in your case, appears an error in the console?
  76. It works for me, do you put a camera in the...

    It works for me, do you put a camera in the overlay scene? is your script in the main scene and you want to add the player in the another scene?
  77. I made one very simple example (with comments...

    I made one very simple example (with comments line):
    369812
    Hope you learn from it!

    But if you will add the object only one time in all the game, I recommend to just put the object in a visible...
  78. Looks like you don't change the data type of the...

    Looks like you don't change the data type of the LibLoad to "Scene" (I told you it two times...).
    Change the line "Mesh" word to "Scene" in line 12.
  79. Replace the line: ...

    Replace the line:

    cube.replaceMesh("CharacterCube")

    by:

    scene.addObject("CharacterCube", cube)

    The first value of the addObject function is the object you want to add to the scene, the...
  80. You are trying to spawn "CharacterCube" by...

    You are trying to spawn "CharacterCube" by replacing the mesh of another object by CharacterCube's mesh? that will not work, it's even not "spawn", you are just replacing one mesh. AddObject is a...
  81. yes, replaceMesh only works with meshes. Well,...

    yes, replaceMesh only works with meshes.

    Well, It's supposed that the "CharacterCube" will include its children when you spawn it. I exactly don't know what that's happening.
  82. That's because there's no any Mesh named "Main"....

    That's because there's no any Mesh named "Main". Are you sure that the meshes have the correct names?
  83. well, a screenshot of the error? You say that...

    well, a screenshot of the error? You say that after load the file and use addObject to add one object from the loaded file (which is parent of other objects), it appears an error? try changing the...
  84. The example works for me, I just change some...

    The example works for me, I just change some lines to to the path of the file relative to file's path. what problem are you getting?
  85. When posting code use [ code][ /code], can you...

    When posting code use [ code][ /code], can you post a blend file please?

    I try to use your code (I really don't undertand why it uses len(functions)), it does work. exactly what do you want to do?...
  86. Replies
    14
    Views
    555

    [SOLVED] The "name" attribute of an KX_GameObject is read...

    The "name" attribute of an KX_GameObject is read only, the api says this. You can't change the name of an object in realtime. Why do you want to do change the name to those objects?
  87. Yes, that works.

    Yes, that works.
  88. You can see Sdfgeoff's guide to Dynamic Loading...

    You can see Sdfgeoff's guide to Dynamic Loading, there's simple examples there, if you libload an file, the whole scene active in that file is loaded to current file, objects in visible layers will...
  89. Yes, and it is really useful, of this manner you...

    Yes, and it is really useful, of this manner you can load on file, and spawn an object of that file in the moment you want.
  90. Libload one file that have Pikachu? maybe put...

    Libload one file that have Pikachu? maybe put pikachu in another blend file (instead of put it in another scene of the same file), and libload this file. Sdfgeoff's guide to Dynamic Loading.
    ...
  91. Replies
    7
    Views
    515

    The script works for me, didn't you forget to put...

    The script works for me, didn't you forget to put the spaces before the lines of the loop?
  92. Replies
    2
    Views
    307

    Hey, you do double post...

    Hey, you do double post. Try changin the render engine to game engine, and put the viewport to textured mode and GLSL.
  93. Replies
    1
    Views
    194

    Do you have the viewport set to Texture Mode?...

    Do you have the viewport set to Texture Mode?
    369491
    If you start the game with Solid Mode, every object will be shadeless.
  94. [SOLVED] You are welcome :)

    You are welcome :)
  95. [SOLVED] 369384 Properties panel >> View tab

    369384
    Properties panel >> View tab
  96. It have been fixed....

    It have been fixed.
    Try with a blender 2.74 version.
  97. That image I posted is what I get when I leave...

    That image I posted is what I get when I leave the clipping plane, without them it works good, except for the strange reflections (What I said beofre).
  98. You say that the clipping plane works in the file...

    You say that the clipping plane works in the file watersurface v1.1? the functions used in all the files to do the clipping planes are the same. In my case it doesn't work in any file, it runs at 0.5...
  99. The clipping plane basicly create a virtual plane...

    The clipping plane basicly create a virtual plane in the world, every thing under it will no be rendered.
    This happens when you don't use them:
    369251
    As you can see, the cube is completely under...
  100. Well that can be considered a fix, but it delete...

    Well that can be considered a fix, but it delete a part of the water system (the clipping plane). That the clipping plane does not work on some graphic cards is an issue with the card or an issue...
Results 1 to 100 of 500
Page 1 of 5 1 2 3 4