Search:

Type: Posts; User: carlo697

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    258

    scene.addObject return a game object, you can...

    scene.addObject return a game object, you can save it in a property and use it later intead of using scene.objects, you can use it also to change its name.


    myObj = scene.addObject("myObjName")...
  2. Replies
    873
    Views
    102,033

    Carlos Peņa from La isabelica, Valencia,...

    Carlos Peņa from La isabelica, Valencia, Carabobo, Venezuela.

    And I love this idea! It is good to see that there are more people from my country using Blender.
  3. Replies
    14
    Views
    493

    For a game that I was developing I made one...

    For a game that I was developing I made one system like that. I tested three methods:
    -Using a constraint on the grabbed object.
    -Applying forces to the grabbed object.

    And finally this method,...
  4. Replies
    35
    Views
    1,372

    Since half of 2012, like 3,5 years (however, I...

    Since half of 2012, like 3,5 years (however, I have been using Blender more than that). But I switch to Unity at the beginning of this year. It was great to use the game engine, I learned a lot with...
  5. Replies
    611
    Views
    46,590

    It also happens to me in the bge since always.

    It also happens to me in the bge since always.
  6. Replies
    611
    Views
    46,590

    I really don't want OpenGL 3.2 to be the minimun...

    I really don't want OpenGL 3.2 to be the minimun required for blender, because my graphic card only support OpenGL 2.1 but well nobody takes serious people with low end computers like mine, maybe...
  7. Replies
    24
    Views
    810

    [SOLVED] So you are executing the code when the object is...

    So you are executing the code when the object is NoneType (hand.hitObject == None) when you have to do the opposite, use =! instead or just check directly: if hitObject. Also you have to check if the...
  8. Replies
    611
    Views
    46,590

    Hi, I have a problem with the 32 bits windows...

    Hi, I have a problem with the 32 bits windows executable from that link and the one from graphicall. It trow this error:

    418037

    "blender.exe is not a valid win32 application"

    This error only...
  9. Replies
    54
    Views
    2,801

    Some games of the list are really good, is The...

    Some games of the list are really good, is The Island still under development?

    Offtopic:


    It's a great game, it get Greenlight in steam, but look like it's dead as there's no news about the...
  10. Replies
    6
    Views
    453

    That's the normal behavior of LibLoad: 1) In the...

    That's the normal behavior of LibLoad:
    1) In the main file (the one that LibLoad) the objects of the loaded files are loaded inside the scene where the script is running from.

    2) Objects in...
  11. [SOLVED] Link the object and make the object local, this...

    Link the object and make the object local, this will leave the mesh linked.
    417750



    Add your asset (and all its children) to a group, and link the group to your other file.
  12. Replies
    23
    Views
    2,613

    Deleted lamps still consume the same gpu power....

    Deleted lamps still consume the same gpu power.
    See this example (36 point lights), before deleting the lamps:
    417452

    After deleting the lamps:
    417453
  13. Replies
    8
    Views
    669

    What I do per moment is use scene.pre_draw, it is...

    What I do per moment is use scene.pre_draw, it is "A list of callables to be run before the render step" (what the api says). So every function register here will run before the render.

    This is an...
  14. Replies
    7
    Views
    640

    I think they are very important, I use libloading...

    I think they are very important, I use libloading to load levels, so I don't use scenes for that. Mainly I use scenes for make the HUD of my games.

    Making the hud in a overlay scene is better...
  15. I'm making a game for this BGMC, I don't know if...

    I'm making a game for this BGMC, I don't know if I have time to end it as I have to visit my family the 23th (or maybe the 24th), and there's no computers or internet there. Anyway here are my specs:...
  16. Replies
    7
    Views
    433

    [SOLVED] The keys mean the object's properties, those ones...

    The keys mean the object's properties, those ones that you get by using object["someProperty"]. Example, you have an object that DOESN'T have a property named = somenthing.

    owner= controller.owner...
  17. Use a separate RGB node, and plug the vertex...

    Use a separate RGB node, and plug the vertex color in it. Then use every output as an black and white stencil.
  18. 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...
  19. Replies
    49
    Views
    2,744

    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.
  20. 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...
  21. Replies
    8
    Views
    616

    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...
  22. Replies
    8
    Views
    616

    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...
  23. Replies
    8
    Views
    616

    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...
  24. Replies
    8
    Views
    616

    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...
  25. Use paint texture to change the depth texture....

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

    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.
  27. 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...
  28. 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...
  29. 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....
  30. Replies
    4
    Views
    458

    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...)
  31. 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...
  32. 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)
  33. [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...
  34. Replies
    4
    Views
    440

    386334 And I checked by myself: 386335

    386334

    And I checked by myself:
    386335
  35. Replies
    4
    Views
    440

    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:...
  36. Replies
    7
    Views
    1,040

    Congratulations Smoking! I wait the next BGMC :)

    Congratulations Smoking! I wait the next BGMC :)
  37. 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...
  38. [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...
  39. [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
  40. [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...
  41. [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.
  42. [SOLVED] Thank you agoose! It works perfectly now, and...

    Thank you agoose! It works perfectly now, and thank you as well youle.
  43. [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...
  44. [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...
  45. Replies
    2
    Views
    471

    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
  46. Replies
    9
    Views
    846

    [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...
  47. Replies
    9
    Views
    846

    [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...
  48. The materials doesn't work in dynamic texts, use...

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

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

    object.getDistanceTo(object or vector)

    Example:
    objectA.getDistanceTo(objectB)
  50. Replies
    23
    Views
    5,479

    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.
  51. Replies
    2
    Views
    415

    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:...
  52. Replies
    6
    Views
    583

    #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...
  53. 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!
  54. 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
  55. Replies
    2
    Views
    296

    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...
  56. 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.
  57. 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.
  58. 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....
  59. 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...
  60. Replies
    259
    Views
    38,906

    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.
  61. 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...
  62. Thread: Multitexture

    by carlo697
    Replies
    10
    Views
    819

    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.
  63. Replies
    3
    Views
    403

    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.
  64. Replies
    11
    Views
    786

    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.
  65. Replies
    11
    Views
    786

    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.
  66. Replies
    11
    Views
    786

    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()
  67. Replies
    2
    Views
    447

    [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...
  68. Replies
    2
    Views
    390

    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...
  69. Replies
    17
    Views
    7,298

    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
  70. Replies
    59
    Views
    10,293

    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.
  71. Replies
    5
    Views
    486

    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.
  72. 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...
  73. Replies
    368
    Views
    64,815

    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...
  74. Replies
    10
    Views
    1,641

    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....
  75. Replies
    30
    Views
    1,807

    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...
  76. Replies
    599
    Views
    123,467

    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...
  77. Replies
    599
    Views
    123,467

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

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

    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...
  79. Replies
    30
    Views
    1,807

    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...
  80. Replies
    30
    Views
    1,807

    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.
  81. Replies
    8
    Views
    449

    #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 =...
  82. Replies
    8
    Views
    449

    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.
  83. Replies
    53
    Views
    6,260

    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...
  84. Replies
    59
    Views
    10,293

    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...
  85. 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.
    ...
  86. 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...
  87. Replies
    4
    Views
    451

    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.
  88. I'm not really sure...

    I'm not really sure...
  89. Replies
    30
    Views
    1,807

    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,...
  90. 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...
  91. 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...
  92. 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?
  93. 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?
  94. 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...
  95. 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.
  96. 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...
  97. 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...
  98. 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.
  99. 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?
  100. 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...
Results 1 to 100 of 500
Page 1 of 5 1 2 3 4