jMonkeyEngine.org

  • Home
    • News
    • News Archives
    • Activity
    • Members
    • Links
  • Introduction
    • About
    • Website Manual
    • Core Team
    • Contributing
      • Anyone
      • Modeler
      • WebDev
      • Writer
      • Programmer
    • Product Showcase
  • Forums
    • Latest Topics
    • Forums Index
    • Troubleshooting >
      • General
      • Import Assets
      • Graphics
      • Effects
      • GUI
      • Physics
      • Sound
      • Networking
      • SpiderMonkey
      • TerraMonkey
      • jMonkeyPlatform
    • Project Relations >
      • Beta 1 Game Contest
      • Free Announcements
      • User Code & Projects
      • Site & Project Feedback
      • Feature Discussion
      • Small Talk
    • Development >
      • Developers
      • Contributions
      • Docs
      • jMonkeyPlatform
      • Android
      • MonkeyZone
    • Legacy jME2 >
      • Discussion
      • Contributions
      • Docs Discussion
  • Documentation
    • Installation & Setup
    • Tutorials & Docs
    • SDK Documentation
    • FAQ
    • JavaDoc
    • Docs Discussion
  • Projects
    • All Projects
    • Games
    • Tools
    • Open Source
  • Downloads
    • Download jME3 SDK
    • SVN Checkout
    • GoogleCode
    • Nightly Builds

Site Activity

  • All Members 7,717
  • RSS
  • Profile picture of sandrob

    sandrob joined the group Group logo of Development Discussion (jME3)Development Discussion (jME3) 1 hour, 23 minutes ago

  • Profile picture of magister

    magister started the forum topic Code Metrics Support? in the group Group logo of jMonkeyPlatformjMonkeyPlatform 1 hour, 25 minutes ago

    Hello all. Is there some way to easily gather metrics on code. IE number of lines of code, number of classes, number of methods, etc. Is there a plugin available to do this? Is there a way to add eclipse or […]

  • Profile picture of t0neg0d

    t0neg0d replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 2 hours, 59 minutes ago

    @pspeed I meant storage qualifiers… or course.

    Storage Qualifiers
    Variable declarations may have at most one storage qualifier specified in front of the type. These are
    summarized as
    Storage Qualifier […]

  • Profile picture of t0neg0d

    t0neg0d replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 3 hours, 20 minutes ago

    @pspeed Oh… sorry.

    I am updating the shader I am using to move clouds. At the moment, I determine the offset from the original clamp in the update loop and pass it in to move the texture. However, it seems […]

  • Profile picture of pspeed

    pspeed replied to the forum topic text background in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 3 hours, 30 minutes ago

    Which search box did you use? The one at the very top is nearly useless. The one that says ”Custom Google Search” is the best one… that’s the one I used.

  • Profile picture of pspeed

    pspeed replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 3 hours, 40 minutes ago

    You can’t, really. Not without knowing the previous time and direction.

    What I meant by “what are you trying to do?” is what overall effect are you trying to achieve… not the shader specific stuff. What […]

  • Profile picture of phantomliger11

    phantomliger11 replied to the forum topic text background in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 3 hours, 43 minutes ago

    i did the same and it didnt give me anything…o well

  • Profile picture of t0neg0d

    t0neg0d replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 4 hours, 46 minutes ago

    @pspeed I am starting to think this headache I have is making me temporarily retarded.

    Basically what I would like to do is either:

    1. get texCoord1 from the previous rendered frame.
    OR
    2. get texCoord1 […]

  • Profile picture of bfalese

    bfalese replied to the forum topic Maven hosting in the group Group logo of Development Discussion (jME3)Development Discussion (jME3) 4 hours, 50 minutes ago

    I’m also looking forward to this maven update, thanks for the effort

  • Profile picture of t0neg0d

    t0neg0d replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 4 hours, 51 minutes ago

    @pspeed well… bad choice of words on reseting it to 0… cycle it I mean.

  • Profile picture of t0neg0d

    t0neg0d replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 4 hours, 54 minutes ago

    Just switch direction from the current point.

    And… very funny, I was just about to post that g_Time was the whole reason it was working in the first place… but you beat me to it.

    Soo… how do I use in / […]

  • Profile picture of pspeed

    pspeed replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 5 hours, 20 minutes ago

    g_Time ever increases. It is time. g_tpf (I think is what it is called) will be the time of the last frame but is useless in a shader because there is not accumulation.

    Imaginge if you were running at 60 FPS […]

  • Profile picture of t0neg0d

    t0neg0d replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 5 hours, 26 minutes ago

    @pspeed I was under the assumption the g_Time was the time the shader took to render a frame (pass, whatever). Either way, I can fix that… but will it effect the issue I am seeing? I would think it would […]

  • Profile picture of pspeed

    pspeed replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 5 hours, 31 minutes ago

    @pspeed said:
    And by the way… if you have wrap mode on for your texture then you shouldn’t need to clamp/mod at all.

    And actually, that’s the only way that you’ll get right answers anyway. Otherwise, […]

  • Profile picture of pspeed

    pspeed replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 5 hours, 35 minutes ago

    And by the way… if you have wrap mode on for your texture then you shouldn’t need to clamp/mod at all.

  • Profile picture of pspeed

    pspeed replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 5 hours, 35 minutes ago

    @t0neg0d said:
    the checks right below the first two lines cycle the xInc/yInc to stay between 0 and 1. Since the texture is tiled, it is a very smooth transition as it moves.

    No, they don’t. You think […]

  • Profile picture of t0neg0d

    t0neg0d replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 5 hours, 40 minutes ago

    @pspeed Hmmm… it doesn’t jump ever, unless I change the direction or speed. It runs nice & smooth. (constant speed)

    m_Speed is a float set between .025 and .05 for my purposes (basically anything between 0 […]

  • Profile picture of pspeed

    pspeed replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 5 hours, 47 minutes ago

    This is an odd little bit of code. g_Time will keep increasing so you will go way way way above 1 pretty fast depending on m_Speed… so I suspect simply subtracting 1.0 at some point in is probably not what […]

  • Profile picture of t0neg0d

    t0neg0d started the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 5 hours, 52 minutes ago

    I’m working on a shader for rendering moving textures. The original one I set up where you simply pass in the offset, works just fine, however… when I updated it to pass in a the speed and direct… it still […]

  • Profile picture of azikmanich

    azikmanich became a registered member 5 hours, 56 minutes ago

  • Load More
Click below to login with..

Please create an account to get started.

Proudly powered by WordPress and BuddyPress.

jMonkeyEngine.org
  • Log In
  • Sign Up
  • Visit
    • Random Member
    • Random Group
close